Hierarchy

  • default
    • PublicChatService

Properties

events: PublicChatStoreEvents = ...

Accessors

  • get chatHistory(): ChatMessage[]
  • chatHistory, returns the list of public chats in a call.

    Returns ChatMessage[]

  • get isChatConnected(): boolean
  • isChatConnected, returns a boolean value, whether chat is connected in a meeting session.

    Returns boolean

  • get isChatEnabled(): boolean
  • isChatEnabled, returns a boolean value, whether chat is enabled for a meeting.

    Returns boolean

  • get unreadMessageCount(): number
  • unreadMessageCount, returns the count of unread public chats in a meeting session.

    Returns number

Methods

  • clearUnreadMessageCount, clears the count of unread public chats.

    Returns void

  • Allows observing changes to properties. Provide the property which you are interested in and a callback. Whenever the property value changes, you will be notified via the callback.

    Usage:

    Example

    sdk.meetingService.publicChatService.observe("unreadMessageCount", function() {
    console.info("unreadMessageCount changed to : ", sdk.meetingService.publicChatService.unreadMessageCount)
    });

    Parameters

    • property: keyof PublicChatService

      The name of the property to observe for changes.

    • callback: (() => void)

      on change event for the property.

        • (): void
        • Returns void

    Returns void

  • sendMessage, takes a string param and sends it in public chat.

    Parameters

    • message: string

    Returns void

Generated using TypeDoc