ARTChannelMode

Objective-C

enum ARTChannelMode : NSUInteger {}

Swift

struct ARTChannelMode : OptionSet, @unchecked Sendable

Describes the possible flags used to configure client capabilities, using ARTChannelOptions.

  • The client can enter the presence set.

    Declaration

    Objective-C

    ARTChannelModePresence = 1 << 16

    Swift

    static var presence: ARTChannelMode { get }
  • The client can publish messages.

    Declaration

    Objective-C

    ARTChannelModePublish = 1 << 17

    Swift

    static var publish: ARTChannelMode { get }
  • The client can subscribe to messages.

    Declaration

    Objective-C

    ARTChannelModeSubscribe = 1 << 18

    Swift

    static var subscribe: ARTChannelMode { get }
  • The client can receive presence messages.

    Declaration

    Objective-C

    ARTChannelModePresenceSubscribe = 1 << 19

    Swift

    static var presenceSubscribe: ARTChannelMode { get }
  • The client can publish annotations to messages.

    Declaration

    Objective-C

    ARTChannelModeAnnotationPublish = 1 << 21

    Swift

    static var annotationPublish: ARTChannelMode { get }
  • The client can receive annotations for messages.

    Declaration

    Objective-C

    ARTChannelModeAnnotationSubscribe = 1 << 22

    Swift

    static var annotationSubscribe: ARTChannelMode { get }
  • The client can receive object messages.

    Declaration

    Objective-C

    ARTChannelModeObjectSubscribe = 1 << 24

    Swift

    static var objectSubscribe: ARTChannelMode { get }
  • The client can publish object messages.

    Declaration

    Objective-C

    ARTChannelModeObjectPublish = 1 << 25

    Swift

    static var objectPublish: ARTChannelMode { get }