ARTRealtimeChannelInternal

Objective-C

@interface ARTRealtimeChannelInternal : ARTChannel

Swift

class ARTRealtimeChannelInternal : ARTChannel

Undocumented

ARTEventEmitter

Private

  • Undocumented

    Declaration

    Objective-C

    - (void)performTransitionToState:(ARTRealtimeChannelState)state withParams:(ARTChannelStateChangeParams *)params;

    Swift

    func performTransition(to state: ARTRealtimeChannelState, with params: ChannelStateChangeParams)
  • Undocumented

    Declaration

    Objective-C

    - (void)onChannelMessage:(ARTProtocolMessage *)message;

    Swift

    func onChannelMessage(_ message: ARTProtocolMessage)
  • Undocumented

    Declaration

    Objective-C

    - (void)publishProtocolMessage:(ARTProtocolMessage *)pm callback:(ARTStatusCallback)cb;

    Swift

    func publishProtocolMessage(_ pm: ARTProtocolMessage, callback cb: @escaping ARTStatusCallback)
  • Undocumented

    Declaration

    Objective-C

    - (void)setAttached:(ARTProtocolMessage *)message;

    Swift

    func setAttached(_ message: ARTProtocolMessage)
  • Undocumented

    Declaration

    Objective-C

    - (void)setDetached:(ARTProtocolMessage *)message;

    Swift

    func setDetached(_ message: ARTProtocolMessage)
  • Undocumented

    Declaration

    Objective-C

    - (void)onMessage:(ARTProtocolMessage *)message;

    Swift

    func onMessage(_ message: ARTProtocolMessage)
  • Undocumented

    Declaration

    Objective-C

    - (void)onPresence:(ARTProtocolMessage *)message;

    Swift

    func onPresence(_ message: ARTProtocolMessage)
  • Undocumented

    Declaration

    Objective-C

    - (void)onSync:(ARTProtocolMessage *)message;

    Swift

    func onSync(_ message: ARTProtocolMessage)
  • Undocumented

    Declaration

    Objective-C

    - (void)onError:(ARTProtocolMessage *)error;

    Swift

    func onError(_ error: ARTProtocolMessage)
  • Undocumented

    Declaration

    Objective-C

    - (void)setSuspended:(ARTChannelStateChangeParams *)params;

    Swift

    func setSuspended(_ params: ChannelStateChangeParams)
  • Undocumented

    Declaration

    Objective-C

    - (void)setFailed:(ARTChannelStateChangeParams *)params;

    Swift

    func setFailed(_ params: ChannelStateChangeParams)
  • Undocumented

    Declaration

    Objective-C

    - (void)detachChannel:(ARTChannelStateChangeParams *)params;

    Swift

    func detachChannel(_ params: ChannelStateChangeParams)
  • Undocumented

    Declaration

    Objective-C

    - (void)emit:(ARTChannelEvent)event with:(ARTChannelStateChange *)data;

    Swift

    func emit(_ event: ARTChannelEvent, with data: ARTChannelStateChange)
  • Provides the implementation for -[ARTPluginAPI setPluginDataValue:forKey:channel]. See documentation for that method in APPluginAPIProtocol.

    Declaration

    Objective-C

    - (void)setPluginDataValue:(nonnull id)value forKey:(nonnull NSString *)key;

    Swift

    func setPluginDataValue(_ value: Any, forKey key: String)
  • Provides the implementation for -[ARTPluginAPI pluginDataValueForKey:channel]. See documentation for that method in APPluginAPIProtocol.

    Declaration

    Objective-C

    - (nullable id)pluginDataValueForKey:(nonnull NSString *)key;

    Swift

    func pluginDataValue(forKey key: String) -> Any?