Returns the SDK Logger
Returns current iOS/Android SDK version.
Returns current React-Native SDK version.
Returns current application ID.
Gets the current User
.
Returns the current User
. If SendbirdCalls is not authenticated, null
will be returned.
Returns is SDK initialized.
Adds sound used in DirectCall such as ringtone and some sound effects with its file name with extension
Handles Firebase message data. Returns true if Sendbird call message. Otherwise false.
Authenticates.
Creates direct call log list query.
Creates a Room for group calls.
Creates a query for room list with specified parameters.
Deauthenticates.
Makes a call to user(callee) directly. (1:1 Call). Use the CallOptions object to choose initial call configuration (e.g. muted/unmuted)
Fetches a room instance from Sendbird server.
Gets a locally-cached room instance by room ID.
Gets the current User
from native
Returns the current User
. If SendbirdCalls is not authenticated, null
will be returned.
Gets call from call ID or call UUID
Returns all ongoing calls, including the active call and all calls on hold.
Initializes SendbirdCalls.
To receive native-like calls while an app is in the background or closed, a device registration token must be registered to the server.
Register a device push token after authentication has completed using the SendbirdCalls.ios_registerVoIPPushToken()
method.
Show-up a view that allows user to change the system audio route. AVRoutePickerView in iOS 11 or later
Unregisters a VoIP push token of specific device. You will not receive VoIP push notification for a call anymore.
Registers push token for current user.
on iOS, push token means APNS token. on Android, push token means FCM token.
if (Platform.OS === 'android') {
const fcmToken = await messaging().getToken();
await SendbirdCalls.registerPushToken(fcmToken);
}
if (Platform.OS === 'ios') {
const apnsToken = await messaging().getAPNSToken();
await SendbirdCalls.registerPushToken(apnsToken);
}
Removes sound used in DirectCall with SoundType value.
Enables / disables dial sound used in DirectCall even when the device is in silent mode. Call this method right after addDirectCallSound.
Set SendbirdCall listener
Set logger level
Unregisters push token for current user.
Generated using TypeDoc
SendbirdCallsModule class for SendbirdCalls