Constants

The following constants are available globally.

  • When obtaining a dictionary containing unread count information, use this key to get the number of unread messages.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SKYChatMessageUnreadCountKey

    Swift

    let SKYChatMessageUnreadCountKey: String
  • When obtaining a dictionary containing unread count information, use this key to get the number of unread conversations.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SKYChatConversationUnreadCountKey

    Swift

    let SKYChatConversationUnreadCountKey: String
  • This notification is posted when the client receives an event for typing indicator.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SKYChatDidReceiveTypingIndicatorNotification

    Swift

    static let SKYChatDidReceiveTypingIndicator: NSNotification.Name
  • This notification is posted when the client receives an event for record change.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SKYChatDidReceiveRecordChangeNotification

    Swift

    static let SKYChatDidReceiveRecordChange: NSNotification.Name
  • For the SKYChatDidReceiveTypingIndicatorNotification, this user info key can be used to get an object of SKYChatTypingIndicator.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SKYChatTypingIndicatorUserInfoKey

    Swift

    let SKYChatTypingIndicatorUserInfoKey: String
  • For the SKYChatDidReceiveRecordChangeNotification, this user info key can be used to get an object of SKYChatRecordChange.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SKYChatRecordChangeUserInfoKey

    Swift

    let SKYChatRecordChangeUserInfoKey: String