RTMPSharedObject
public final class RTMPSharedObject : EventDispatcher
extension RTMPSharedObject: CustomDebugStringConvertible
The RTMPSharedObject class is used to read and write data on a server.
-
Returns a reference to a shared object on a server.
Declaration
Swift
public static func getRemote(withName: String, remotePath: String, persistence: Bool) -> RTMPSharedObject
-
The AMF object encoding type.
Declaration
Swift
public let objectEncoding: RTMPObjectEncoding
-
The current data storage.
Declaration
Swift
public private(set) var data: [String : Any?] { get }
-
Updates the value of a property in shared object.
Declaration
Swift
public func setProperty(_ name: String, _ value: Any?)
-
Connects to a remove shared object on a server.
Declaration
Swift
public func connect(_ rtmpConnection: RTMPConnection)
-
Purges all of the data.
Declaration
Swift
public func clear()
-
Closes the connection a server.
Declaration
Swift
public func close()
-
Declaration
Swift
public var debugDescription: String { get }