Interface NativeCommonModule
Properties
applicationId
applicationId: string
Methods
addDirectCallSound
- addDirectCallSound(type: SoundType, fileName: string): void
authenticate
Parameters
Returns Promise<User>
deauthenticate
- deauthenticate(): Promise<void>
dial
Parameters
calleeUserId: string
isVideoCall: boolean
getCurrentUser
- getCurrentUser(): Promise<null | User>
Returns Promise<null | User>
handleFirebaseMessageData
- handleFirebaseMessageData(data: Record<string, string>): void
Parameters
data: Record<string, string>
Returns void
initialize
- initialize(appId: string): boolean
Parameters
Returns boolean
registerPushToken
- registerPushToken(token: string, unique?: boolean): Promise<void>
Parameters
token: string
Optional unique: boolean
Returns Promise<void>
registerVoIPPushToken
- registerVoIPPushToken(token: string, unique?: boolean): Promise<void>
Parameters
token: string
Optional unique: boolean
Returns Promise<void>
setDirectCallDialingSoundOnWhenSilentOrVibrateMode
- setDirectCallDialingSoundOnWhenSilentOrVibrateMode(enabled: boolean): void
setLoggerLevel
- setLoggerLevel(level: "none" | "error" | "warning" | "info"): void
Parameters
level: "none" | "error" | "warning" | "info"
Returns void
unregisterPushToken
- unregisterPushToken(token: string): Promise<void>
Parameters
Returns Promise<void>
unregisterVoIPPushToken
- unregisterVoIPPushToken(token: string): Promise<void>
Parameters
Returns Promise<void>
Android