@sendbird/calls-react-native
    Preparing search index...

    Interface SendbirdCallsJavascriptSpec

    interface SendbirdCallsJavascriptSpec {
        addDirectCallSound: (type: SoundType, fileName: string) => void;
        android_handleFirebaseMessageData: (data: Record<string, string>) => void;
        applicationId: string;
        authenticate: (authParams: AuthenticateParams) => Promise<User>;
        createRoom: (roomParams: RoomParams) => Promise<RoomProperties>;
        currentUser: User | null;
        deauthenticate: () => Promise<void>;
        deleteAllCustomItems: (callId: string) => Promise<CustomItemUpdateResult>;
        deleteCustomItems: (
            callId: string,
            customItemKeys: string[],
        ) => Promise<CustomItemUpdateResult>;
        dial: (
            calleeUserId: string,
            isVideoCall: boolean,
            options: CallOptions,
        ) => Promise<DirectCallProperties>;
        fetchRoomById: (roomId: string) => Promise<RoomProperties>;
        getCachedRoomById: (roomId: string) => Promise<RoomProperties | null>;
        getCurrentUser: () => Promise<User | null>;
        getDirectCall: (callId: string) => Promise<DirectCallProperties>;
        getOngoingCalls: () => Promise<DirectCallProperties[]>;
        initialize: (appId: string) => boolean;
        ios_registerVoIPPushToken: (
            token: string,
            unique?: boolean,
        ) => Promise<void>;
        ios_routePickerView: () => void;
        ios_unregisterVoIPPushToken: (token: string) => Promise<void>;
        registerPushToken: (token: string, unique?: boolean) => Promise<void>;
        removeDirectCallSound: (type: SoundType) => void;
        setDirectCallDialingSoundOnWhenSilentOrVibrateMode: (
            enabled: boolean,
        ) => void;
        setLoggerLevel: (level: "none" | "error" | "warning" | "info") => void;
        unregisterPushToken: (token: string) => Promise<void>;
        updateCustomItems: (
            callId: string,
            customItems: Record<string, string>,
        ) => Promise<CustomItemUpdateResult>;
        createDirectCallLogListQuery(
            params: DirectCallLogQueryParams,
        ): Promise<BridgedQuery<DIRECT_CALL_LOG>>;
        createRoomListQuery(
            params: RoomListQueryParams,
        ): Promise<BridgedQuery<ROOM_LIST>>;
        setListener(listener: SendbirdCallListener): void;
    }

    Hierarchy

    • PlatformSpecificInterface
      • SendbirdCallsJavascriptSpec

    Implemented by

    Index

    Properties

    addDirectCallSound: (type: SoundType, fileName: string) => void
    android_handleFirebaseMessageData: (data: Record<string, string>) => void

    Type Declaration

      • (data: Record<string, string>): void
      • Parameters

        • data: Record<string, string>

        Returns void

        Android *

    applicationId: string
    authenticate: (authParams: AuthenticateParams) => Promise<User>
    createRoom: (roomParams: RoomParams) => Promise<RoomProperties>
    currentUser: User | null
    deauthenticate: () => Promise<void>
    deleteAllCustomItems: (callId: string) => Promise<CustomItemUpdateResult>
    deleteCustomItems: (
        callId: string,
        customItemKeys: string[],
    ) => Promise<CustomItemUpdateResult>
    dial: (
        calleeUserId: string,
        isVideoCall: boolean,
        options: CallOptions,
    ) => Promise<DirectCallProperties>
    fetchRoomById: (roomId: string) => Promise<RoomProperties>
    getCachedRoomById: (roomId: string) => Promise<RoomProperties | null>
    getCurrentUser: () => Promise<User | null>
    getDirectCall: (callId: string) => Promise<DirectCallProperties>
    getOngoingCalls: () => Promise<DirectCallProperties[]>
    initialize: (appId: string) => boolean
    ios_registerVoIPPushToken: (token: string, unique?: boolean) => Promise<void>

    Type Declaration

      • (token: string, unique?: boolean): Promise<void>
      • Parameters

        • token: string
        • Optionalunique: boolean

        Returns Promise<void>

        iOS *

    ios_routePickerView: () => void

    Type Declaration

      • (): void
      • Returns void

        iOS *

    ios_unregisterVoIPPushToken: (token: string) => Promise<void>

    Type Declaration

      • (token: string): Promise<void>
      • Parameters

        • token: string

        Returns Promise<void>

        iOS *

    registerPushToken: (token: string, unique?: boolean) => Promise<void>
    removeDirectCallSound: (type: SoundType) => void
    setDirectCallDialingSoundOnWhenSilentOrVibrateMode: (enabled: boolean) => void
    setLoggerLevel: (level: "none" | "error" | "warning" | "info") => void
    unregisterPushToken: (token: string) => Promise<void>
    updateCustomItems: (
        callId: string,
        customItems: Record<string, string>,
    ) => Promise<CustomItemUpdateResult>

    Methods