Gets the current User.
Returns the current User. If SendbirdCalls is not authenticated, null will be returned.
Adds sound used in DirectCall such as ringtone and some sound effects with its file name with extension
Creates direct call log list query.
Creates a query for room list with specified parameters.
Deletes all custom items for a given call ID.
Deletes custom items for a given call ID.
Makes a call to user(callee) directly. (1:1 Call). Use the CallOptions object to choose initial call configuration (e.g. muted/unmuted)
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.
Returns all ongoing calls, including the active call and all calls on hold.
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
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);
}
Enables / disables dial sound used in DirectCall even when the device is in silent mode. Call this method right after addDirectCallSound.
Updates custom items for a given call ID.
SendbirdCallsModule class for SendbirdCalls