NXMChannel

Objective-C

@interface NXMChannel : NSObject

Swift

class NXMChannel : NSObject

The NXMChannel is how the user connects to the NXMConversation.

  • The type of channel.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NXMChannelType type;

    Swift

    var type: NXMChannelType { get }
  • The from direction data of the channel.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NXMDirection *from;

    Swift

    var from: NXMDirection { get }
  • to

    The to direction data of the channel.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NXMDirection *to;

    Swift

    var to: NXMDirection? { get }
  • leg

    The NXMLeg of the channel.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NXMLeg *leg;

    Swift

    var leg: NXMLeg? { get }