Protocols

The following protocols are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol NXMConversationEventsControllerDelegate <NSObject>
    
    typedef NS_ENUM(NSUInteger, NXMConversationEventsControllerChangeType) {
        NXMConversationEventsControllerChangeInsert = 1,
        NXMConversationEventsControllerChangeDelete = 2,
        NXMConversationEventsControllerChangeMove = 3,
        NXMConversationEventsControllerChangeUpdate = 4
    };
    
    @optional
    - (void)nxmConversationEventsController:(nonnull NXMConversationEventsController *)controller
                             didChangeEvent:(nonnull NXMEvent *)anEvent
                                    atIndex:(NSUInteger)index
                              forChangeType:(NXMConversationEventsControllerChangeType)type
                                   newIndex:(NSUInteger)newIndex;
    
    @optional
    - (void)nxmConversationEventsControllerWillChangeContent:(nonnull NXMConversationEventsController *)controller;
    
    @optional
    - (void)nxmConversationEventsControllerDidChangeContent:(nonnull NXMConversationEventsController *)controller;
    
    @end

    Swift

    protocol NXMConversationEventsControllerDelegate
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol NXMCallDelegate
    - (void)statusChanged:(nonnull NXMCallMember *)callMember;
    @end

    Swift

    protocol NXMCallDelegate
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol NXMClientDelegate <NSObject>
    
    - (void)connectionStatusChanged:(NXMConnectionStatus)status reason:(NXMConnectionStatusReason)reason;
    
    @optional
    - (void)incomingCall:(nonnull NXMCall *)call;
    - (void)addedToConversation:(nonnull NXMConversation *)conversation;
    
    @end

    Swift

    protocol NXMClientDelegate
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol NXMLoggerDelegate
    
    - (void)error:(nullable NSString *)message;
    - (void)warning:(nullable NSString *)message;
    - (void)info:(nullable NSString *)message;
    - (void)debug:(nullable NSString *)message;
    
    @end

    Swift

    protocol NXMLoggerDelegate