SKTConversationListDelegate

Objective-C

@protocol SKTConversationListDelegate <NSObject>

Swift

protocol SKTConversationListDelegate : NSObjectProtocol

@discussion Delegate protocol for events related to the conversation list and create conversation

Creating a delegate is optional, and may be used to receive callbacks.

  • @abstract Asks the delegate if it wants to create it’s own create conversation flow.

    @discussion Called when a user taps the ‘New Conversation’ button on the SDK Conversation List screen.

    Declaration

    Objective-C

    - (BOOL)shouldCreateCustomConversationFlow;

    Swift

    func shouldCreateCustomConversationFlow() -> Bool

    Return Value

    YES/TRUE indicates that the SDK should NOT create a conversation.

  • @abstract Notifies the delegate that a user has tapped the ‘New Conversation’ button on the SDK Conversation List screen.

    @discussion Called from the main thread when a user taps the ‘New Conversation’ button on the SDK Conversation List screen.

    Declaration

    Objective-C

    - (void)conversationListDidSelectCreateConversation;

    Swift

    optional func conversationListDidSelectCreateConversation()