NXMCustomEvent

Objective-C

@interface NXMCustomEvent : NXMEvent

Swift

class NXMCustomEvent : NXMEvent

Represents a custom event that can be sent and received on an NXMConversation.

  • The type of custom event that you supply. This allows you to differentiate between your custom events.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *customType;

    Swift

    var customType: String? { get set }
  • The data of the custom event.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDictionary *data;

    Swift

    var data: [AnyHashable : Any]? { get }