SCSChatInterface

@interface SCSChatInterface : NSObject

The SCSChatInterface class gives you access to the UI-related features of chat, such as chat notifications.

See

SCSChat
  • Pass an UNNotification to the Chat Interface to request that the chat feed maximize if required. The chat feed will only maximize if the notification was scheduled by the chat client.

    Declaration

    Objective-C

    - (void)handleNotification:(UNNotification *)notification;

    Swift

    func handle(_ notification: UNNotification!)

    Parameters

    notification

    The UNNotification which chat will respond to.

  • Determines whether or not a notification should be displayed in the foreground. Will return YES if the chat feed is not currently maximized.

    Declaration

    Objective-C

    - (BOOL)shouldDisplayNotificationInForeground;

    Swift

    func shouldDisplayNotificationInForeground() -> Bool