Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SendbirdCallsNativeSpec

Hierarchy

Index

Properties

applicationId: string
createDirectCallLogListQuery: NativeQueryCreator<DirectCallLogQueryParams>
currentUser: null | User

Methods

  • accept(callId: string, options: CallOptions, holdActiveCall: boolean): Promise<void>
  • addDirectCallSound(type: SoundType, fileName: string): void
  • addListener(eventType: string): void
  • Add the provided eventType as an active listener

    Parameters

    • eventType: string

      name of the event for which we are registering listener

    Returns void

  • deauthenticate(): Promise<void>
  • end(callId: string): Promise<void>
  • enter(roomId: string, options: EnterParams): Promise<void>
  • exit(roomId: string): void
  • getConstants(): {}
  • Returns {}

    • getCurrentUser(): Promise<null | User>
    • handleFirebaseMessageData(data: Record<string, string>): void
    • initialize(appId: string): boolean
    • queryRelease(key: `native#${string}`): void
    • registerPushToken(token: string, unique?: boolean): Promise<void>
    • registerVoIPPushToken(token: string, unique?: boolean): Promise<void>
    • removeListeners(count: number): void
    • Remove a specified number of events. There are no eventTypes in this case, as the native side doesn't remove the name, but only manages a counter of total listeners

      Parameters

      • count: number

        number of listeners to remove (of any type)

      Returns void

    • routePickerView(): void
    • setDirectCallDialingSoundOnWhenSilentOrVibrateMode(enabled: boolean): void
    • unregisterPushToken(token: string): Promise<void>
    • unregisterVoIPPushToken(token: string): Promise<void>
    • updateLocalVideoView(callId: string, videoViewId: number): void
    • updateRemoteVideoView(callId: string, videoViewId: number): void

    Generated using TypeDoc