diff --git a/CHANGELOG.md b/CHANGELOG.md index c19731c..a60a6a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## [1.1.4](https://github.com/sendbird/sendbird-calls-sdk-react-native/compare/v1.1.3...v1.1.4) (2024-11-07) + ## [1.1.3](https://github.com/sendbird/sendbird-calls-sdk-react-native/compare/v1.1.1...v1.1.3) (2024-10-25) diff --git a/CHANGELOG_DRAFT.md b/CHANGELOG_DRAFT.md index 7b0e567..4359bef 100644 --- a/CHANGELOG_DRAFT.md +++ b/CHANGELOG_DRAFT.md @@ -1,3 +1,3 @@ -## v1.1.3 +## v1.1.4 -- Added `DirectCall.resumeVideoCapturer()` and `LocalParticipant.resumeVideoCapturer()` methods to Android. +- Fixed a bug where modules were not properly installed in the Android new architecture environment. It now works properly in the interop layer. diff --git a/docs/classes/DirectCall.html b/docs/classes/DirectCall.html index 6974502..f9d78fe 100644 --- a/docs/classes/DirectCall.html +++ b/docs/classes/DirectCall.html @@ -1,122 +1,122 @@ -
- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass DirectCall
Hierarchy
Implements
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
binder: default
props: DirectCallProperties
Returns DirectCall
Accessors
android_ available Audio Devices
Gets available audio devices.
-Returns AudioDeviceType[]
android_ current Audio Device
Returns AudioDeviceType[]
android_ current Audio Device
Gets current audio device.
-Returns null | AudioDeviceType
available Video Devices
Returns null | AudioDeviceType
available Video Devices
Gets available video devices. List of available VideoDevice.
-Returns VideoDevice[]
call Id
Returns VideoDevice[]
call Id
Gets call ID.
-Returns string
call Log
Returns string
call Log
Gets call log.
-Returns null | DirectCallLog
callee
Returns null | DirectCallLog
callee
Gets callee.
-Returns null | DirectCallUser
caller
Returns null | DirectCallUser
caller
Gets caller.
-Returns null | DirectCallUser
current Video Device
Returns null | DirectCallUser
current Video Device
Gets current video device.
-Returns null | VideoDevice
custom Items
Returns null | VideoDevice
custom Items
Gets custom items of this DirectCall instance.
-Returns Record<string, string>
duration
Returns Record<string, string>
duration
Gets call duration(ms).
-Returns number
end Result
Returns number
end Result
Gets end result.
-Returns DirectCallEndResult
ended By
Returns DirectCallEndResult
ended By
Gets ender.
-Returns null | DirectCallUser
ios_ callUUID
Returns null | DirectCallUser
ios_ callUUID
The UUID form of callId. Useful when dealing with CallKit.
-Returns null | string
is Ended
Returns null | string
is Ended
Is ended. True if call is ended. Otherwise, false.
-Returns boolean
is Local Audio Enabled
Returns boolean
is Local Audio Enabled
Is local audio enabled. True if local audio is enabled. Otherwise, false.
-Returns boolean
is Local Screen Share Enabled
Returns boolean
is Local Screen Share Enabled
Indicates whether the local user's screen is being shared. True if the local user's screen is being shared. Otherwise, false.
-Returns boolean
is Local Video Enabled
Returns boolean
is Local Video Enabled
Is local video enabled. True if local video is enabled. Otherwise, false.
-Returns boolean
is On Hold
Returns boolean
is On Hold
Indicates whether the call is on hold by either a callee or a caller, or by both. True if the DirectCall is on hold. Otherwise, false.
-Returns boolean
is Ongoing
Returns boolean
is Ongoing
Is ongoing. True if call is ongoing. Otherwise, false.
-Returns boolean
is Remote Audio Enabled
Returns boolean
is Remote Audio Enabled
Is remote audio enabled. True if remote audio is enabled. Otherwise, false.
-Returns boolean
is Remote Video Enabled
Returns boolean
is Remote Video Enabled
Is remote video enabled. True if remote video is enabled. Otherwise, false.
-Returns boolean
is Video Call
Returns boolean
is Video Call
Is video call.
-Returns boolean
local Recording Status
Returns boolean
local Recording Status
Gets local recording status.
-Returns RecordingStatus
local User
Returns RecordingStatus
local User
Gets local user.
-Returns null | DirectCallUser
my Role
Returns null | DirectCallUser
my Role
Gets my role.
-Returns null | DirectCallUserRole
remote Recording Status
Returns null | DirectCallUserRole
remote Recording Status
Gets remote recording status.
-Returns RecordingStatus
remote User
Returns RecordingStatus
remote User
Gets remote user.
-Returns null | DirectCallUser
started At
Returns null | DirectCallUser
started At
Gets call startedAt timestamp.
-Returns number
Methods
accept
Returns number
Methods
accept
Accepts call.
1.0.0
-Parameters
options: CallOptions = ...
holdActiveCall: boolean = false
Returns Promise<void>
add Listener
Parameters
options: CallOptions = ...
holdActiveCall: boolean = false
Returns Promise<void>
add Listener
Add DirectCall listener. supports multiple listeners.
1.0.0
-Parameters
listener: Partial<DirectCallListener>
Returns (() => void)
Returns void
android_ resume Video Capturer
Parameters
listener: Partial<DirectCallListener>
Returns (() => void)
Returns void
android_ resume Video Capturer
Connects the device camera and Sendbird Calls SDK to stream video.
Android
1.1.3
-Returns void
android_ select Audio Device
Returns void
android_ select Audio Device
Selects audio device.
Android
1.0.0
-Parameters
device: AudioDeviceType
Returns Promise<void>
end
Parameters
device: AudioDeviceType
Returns Promise<void>
end
Ends the call. DirectCallListener.onEnded will be called after successful ending. This listener will also be called when the remote user ends the call.
1.0.0
-Returns Promise<void>
mute Microphone
Returns Promise<void>
mute Microphone
Mutes the audio of local user. Will trigger DirectCallListener.onRemoteAudioSettingsChanged method of the remote user. If the remote user changes their audio settings, local user will be notified via same delegate method.
1.0.0
-Returns void
select Video Device
Returns void
select Video Device
Selects video device. Changes current video device asynchronously.
1.0.0
-Parameters
device: VideoDevice
Returns Promise<void>
start Video
Parameters
device: VideoDevice
Returns Promise<void>
start Video
Starts local video. If the callee changes video settings, the caller is notified via the DirectCallListener.onRemoteVideoSettingsChanged listener.
1.0.0
-Returns void
stop Video
Returns void
stop Video
Stops local video. If the callee changes video settings, the caller is notified via the DirectCallListener.onRemoteVideoSettingsChanged listener.
1.0.0
-Returns void
switch Camera
Returns void
switch Camera
Toggles the selection between the front and the back camera.
on Android, In case of more than two cameras, the next camera will be selected. If the last camera is already selected, the first one will be selected again.
1.0.0
-Returns Promise<void>
unmute Microphone
Returns Promise<void>
unmute Microphone
Unmutes the audio of local user. Will trigger DirectCallListener.onRemoteAudioSettingsChanged method of the remote user. If the remote user changes their audio settings, local user will be notified via same delegate method.
1.0.0
-Returns void
update Local Video View
Returns void
update Local Video View
Update local video view.
DirectCallVideoView.videoViewId
1.0.0
-Parameters
videoViewId: number
Returns void
update Remote Video View
Parameters
videoViewId: number
Returns void
update Remote Video View
Update remote video view.
DirectCallVideoView.videoViewId
1.0.0
diff --git a/docs/classes/DirectCallLogListQuery.html b/docs/classes/DirectCallLogListQuery.html index 65fa9d7..0ac5d02 100644 --- a/docs/classes/DirectCallLogListQuery.html +++ b/docs/classes/DirectCallLogListQuery.html @@ -1 +1 @@ -- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass DirectCallLogListQuery
Hierarchy
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
queryKey: `native#${string}`
type: DIRECT_CALL_LOG
binder: default
Returns DirectCallLogListQuery
Accessors
has Next
Returns boolean
is Loading
Returns boolean
Methods
next
Returns Promise<DirectCallLog[]>
release
Returns void
Generated using TypeDoc
- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass DirectCallLogListQuery
Hierarchy
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
queryKey: `native#${string}`
type: DIRECT_CALL_LOG
binder: default
Returns DirectCallLogListQuery
Accessors
has Next
Returns boolean
is Loading
Returns boolean
Methods
next
Returns Promise<DirectCallLog[]>
release
Returns void
Generated using TypeDoc
https://react.dev/reference/react/Component#static-contexttype
-Accessors
video View Id
Returns number
Methods
Optional UNSAFE_ component Will Mount
Accessors
video View Id
Returns number
Methods
Optional UNSAFE_ component Will Mount
Called immediately before mounting occurs, and before
Component#render
. Avoid introducing any side-effects or subscriptions in this method.This method will not stop working in React 17.
@@ -85,7 +85,7 @@ things such as scroll position beforerender
causes changes to it.Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.
-Parameters
prevProps: Readonly<DirectCallVideoViewProps>
prevState: Readonly<{}>
Returns any
render
Returns Element
set State
Type Parameters
K extends never
Parameters
state: null | {} | ((prevState: Readonly<{}>, props: Readonly<DirectCallVideoViewProps>) => null | {} | Pick<{}, K>) | Pick<{}, K>
Optional callback: (() => void)
Returns void
Returns void
Optional should Component Update
Parameters
prevProps: Readonly<DirectCallVideoViewProps>
prevState: Readonly<{}>
Returns any
render
Returns Element
set State
Type Parameters
K extends never
Parameters
state: null | {} | ((prevState: Readonly<{}>, props: Readonly<DirectCallVideoViewProps>) => null | {} | Pick<{}, K>) | Pick<{}, K>
Optional callback: (() => void)
Returns void
Returns void
Optional should Component Update
Called to determine whether the change in props and state should trigger a re-render.
Component
always returns true.PureComponent
implements a shallow comparison on props and state and returns true if any diff --git a/docs/classes/GroupCallVideoView.html b/docs/classes/GroupCallVideoView.html index b7c4259..22f51d2 100644 --- a/docs/classes/GroupCallVideoView.html +++ b/docs/classes/GroupCallVideoView.html @@ -13,7 +13,7 @@https://react.dev/reference/react/Component#static-contexttype
-Accessors
video View Id
Returns number
Methods
Optional UNSAFE_ component Will Mount
Accessors
video View Id
Returns number
Methods
Optional UNSAFE_ component Will Mount
Called immediately before mounting occurs, and before
Component#render
. Avoid introducing any side-effects or subscriptions in this method.This method will not stop working in React 17.
@@ -85,7 +85,7 @@ things such as scroll position beforerender
causes changes to it.Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.
-Parameters
prevProps: Readonly<GroupCallVideoViewProps>
prevState: Readonly<{}>
Returns any
render
Returns Element
set State
Type Parameters
K extends never
Parameters
state: null | {} | ((prevState: Readonly<{}>, props: Readonly<GroupCallVideoViewProps>) => null | {} | Pick<{}, K>) | Pick<{}, K>
Optional callback: (() => void)
Returns void
Returns void
Optional should Component Update
Parameters
prevProps: Readonly<GroupCallVideoViewProps>
prevState: Readonly<{}>
Returns any
render
Returns Element
set State
Type Parameters
K extends never
Parameters
state: null | {} | ((prevState: Readonly<{}>, props: Readonly<GroupCallVideoViewProps>) => null | {} | Pick<{}, K>) | Pick<{}, K>
Optional callback: (() => void)
Returns void
Returns void
Optional should Component Update
Called to determine whether the change in props and state should trigger a re-render.
Component
always returns true.PureComponent
implements a shallow comparison on props and state and returns true if any diff --git a/docs/classes/LocalParticipant.html b/docs/classes/LocalParticipant.html index c6dd0c2..90f9478 100644 --- a/docs/classes/LocalParticipant.html +++ b/docs/classes/LocalParticipant.html @@ -1,28 +1,28 @@ -- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass LocalParticipant
Hierarchy
Implements
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
props: ParticipantProperties
binder: default
internalEvents: InternalEvents<RoomListener>
roomId: string
Returns LocalParticipant
Accessors
duration
Returns number
entered At
Returns number
exited At
Returns number
is Audio Enabled
Returns boolean
is Video Enabled
Returns boolean
participant Id
Returns string
state
Returns ParticipantState
updated At
Returns number
user
Returns User
Methods
android_ resume Video Capturer
- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass LocalParticipant
Hierarchy
Implements
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
props: ParticipantProperties
binder: default
internalEvents: InternalEvents<RoomListener>
roomId: string
Returns LocalParticipant
Accessors
duration
Returns number
entered At
Returns number
exited At
Returns number
is Audio Enabled
Returns boolean
is Video Enabled
Returns boolean
participant Id
Returns string
state
Returns ParticipantState
updated At
Returns number
user
Returns User
Methods
android_ resume Video Capturer
Connects the device camera and Sendbird Calls SDK to stream video for local participant.
Android
1.1.3
-Returns void
mute Microphone
Returns void
mute Microphone
Mutes the audio of the local user. Will trigger RoomListener.onRemoteAudioSettingsChanged method of remote participants. If the remote user changes their audio settings, the local user will be notified via the same method.
1.0.0
-Returns void
start Video
Returns void
start Video
Unmutes the audio of the local user. Will trigger RoomListener.onRemoteVideoSettingsChanged method of remote participants. If the remote user changes their video settings, the local user will be notified via the same method.
1.0.0
-Returns void
stop Video
Returns void
stop Video
Unmutes the audio of the local user. Will trigger RoomListener.onRemoteVideoSettingsChanged method of remote participants. If the remote user changes their video settings, the local user will be notified via the same method.
1.0.0
-Returns void
switch Camera
Returns void
switch Camera
Toggles the selection between the front and the back camera.
on Android, In case of more than two cameras, the next camera will be selected. If the last camera is already selected, the first one will be selected again.
1.0.0
-Returns Promise<void>
unmute Microphone
Returns Promise<void>
unmute Microphone
Unmutes the audio of the local user. Will trigger RoomListener.onRemoteAudioSettingsChanged method of remote participants. If the remote user changes their audio settings, the local user will be notified via the same method.
diff --git a/docs/classes/Participant.html b/docs/classes/Participant.html index 6b75b74..ce54705 100644 --- a/docs/classes/Participant.html +++ b/docs/classes/Participant.html @@ -1 +1 @@ -- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass Participant
Hierarchy
Implements
Index
Constructors
Accessors
Constructors
constructor
Parameters
props: ParticipantProperties
Returns Participant
Accessors
duration
Returns number
entered At
Returns number
exited At
Returns number
is Audio Enabled
Returns boolean
is Video Enabled
Returns boolean
participant Id
Returns string
state
Returns ParticipantState
updated At
Returns number
user
Returns User
Generated using TypeDoc
- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass Participant
Hierarchy
Implements
Index
Constructors
Accessors
Constructors
constructor
Parameters
props: ParticipantProperties
Returns Participant
Accessors
duration
Returns number
entered At
Returns number
exited At
Returns number
is Audio Enabled
Returns boolean
is Video Enabled
Returns boolean
participant Id
Returns string
state
Returns ParticipantState
updated At
Returns number
user
Returns User
Generated using TypeDoc
- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass Room
Hierarchy
Implements
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
binder: default
props: RoomProperties
Returns Room
Accessors
android_ available Audio Devices
- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass Room
Hierarchy
Implements
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
binder: default
props: RoomProperties
Returns Room
Accessors
android_ available Audio Devices
Gets available audio devices.
-Returns AudioDeviceType[]
android_ current Audio Device
Returns AudioDeviceType[]
android_ current Audio Device
Gets current audio device.
-Returns null | AudioDeviceType
created At
Returns null | AudioDeviceType
created At
Gets createdAt that is a timestamp of creating the room.
-Returns number
created By
Returns number
created By
Gets user ID created the room.
-Returns string
custom Items
Returns string
custom Items
Gets custom items of this Room instance.
-Returns Record<string, string>
local Participant
Returns Record<string, string>
local Participant
Gets the local participant.
-Returns null | LocalParticipant
participants
Returns null | LocalParticipant
participants
Gets a list of participants who entered the room.
-Returns Participant[]
remote Participants
Returns Participant[]
remote Participants
Gets a list of remote participants who entered the room.
-Returns Participant[]
room Id
Returns Participant[]
room Id
Gets room ID.
-Returns string
state
Returns string
state
Gets state of room.
-Returns RoomState
type
Returns RoomState
type
Gets type of room.
-Returns RoomType
Methods
add Listener
Returns RoomType
Methods
add Listener
Add GroupCall Room listener. supports multiple listeners.
1.0.0
-Parameters
listener: Partial<RoomListener>
Returns (() => void)
Returns void
android_ select Audio Device
Parameters
listener: Partial<RoomListener>
Returns (() => void)
Returns void
android_ select Audio Device
Selects audio device Changes current audio device asynchronously. Will trigger RoomListener.onAudioDeviceChanged method of the local participant after successfully changing the audio device.
Android
1.0.0
-Parameters
device: AudioDeviceType
Returns Promise<void>
enter
Parameters
device: AudioDeviceType
Returns Promise<void>
enter
Enter the room Will trigger RoomListener.onRemoteParticipantEntered method of remote participants after successfully entering the room. If a remote participant entered the room, the local user will be notified via the same method.
1.0.0
-Parameters
options: EnterParams = ...
Returns Promise<void>
exit
Parameters
options: EnterParams = ...
Returns Promise<void>
exit
Exit from the room Will trigger RoomListener.onRemoteParticipantExited method of remote participants after successfully exiting the room. If a remote participant exited the room, the local user will be notified via the same method.
diff --git a/docs/classes/RoomListQuery.html b/docs/classes/RoomListQuery.html index 9029cbe..7513cc4 100644 --- a/docs/classes/RoomListQuery.html +++ b/docs/classes/RoomListQuery.html @@ -1 +1 @@ -- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass RoomListQuery
Hierarchy
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
queryKey: `native#${string}`
type: ROOM_LIST
binder: default
Returns RoomListQuery
Accessors
has Next
Returns boolean
is Loading
Returns boolean
Methods
next
Returns Promise<RoomProperties[]>
release
Returns void
Generated using TypeDoc
- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass RoomListQuery
Hierarchy
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
queryKey: `native#${string}`
type: ROOM_LIST
binder: default
Returns RoomListQuery
Accessors
has Next
Returns boolean
is Loading
Returns boolean
Methods
next
Returns Promise<RoomProperties[]>
release
Returns void
Generated using TypeDoc
- Preparing search index...
- The search index is not available
@sendbird/calls-react-nativeClass SendbirdCallsModule
SendbirdCallsModule class for SendbirdCalls
-Hierarchy
Implements
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
binder: default
Returns SendbirdCallsModule
Accessors
Logger
Hierarchy
Implements
Index
Constructors
Accessors
Methods
Constructors
constructor
Parameters
binder: default
Returns SendbirdCallsModule
Accessors
Logger
Returns the SDK Logger
1.0.0
-Returns { error: ((...args: unknown[]) => number); getLogLevel: (() => "none" | "error" | "warning" | "info"); info: ((...args: unknown[]) => number); setLogLevel: ((level: "none" | "error" | "warning" | "info") => void); warn: ((...args: unknown[]) => number) }
error: ((...args: unknown[]) => number)
Parameters
Rest ...args: unknown[]
Returns number
get Log Level: (() => "none" | "error" | "warning" | "info")
Returns "none" | "error" | "warning" | "info"
info: ((...args: unknown[]) => number)
Parameters
Rest ...args: unknown[]
Returns number
set Log Level: ((level: "none" | "error" | "warning" | "info") => void)
Parameters
level: "none" | "error" | "warning" | "info"
Returns void
warn: ((...args: unknown[]) => number)
Parameters
Rest ...args: unknown[]
Returns number
NATIVE_ VERSION
Returns { error: ((...args: unknown[]) => number); getLogLevel: (() => "none" | "error" | "warning" | "info"); info: ((...args: unknown[]) => number); setLogLevel: ((level: "none" | "error" | "warning" | "info") => void); warn: ((...args: unknown[]) => number) }
error: ((...args: unknown[]) => number)
Parameters
Rest ...args: unknown[]
Returns number
get Log Level: (() => "none" | "error" | "warning" | "info")
Returns "none" | "error" | "warning" | "info"
info: ((...args: unknown[]) => number)
Parameters
Rest ...args: unknown[]
Returns number
set Log Level: ((level: "none" | "error" | "warning" | "info") => void)
Parameters
level: "none" | "error" | "warning" | "info"
Returns void
warn: ((...args: unknown[]) => number)
Parameters
Rest ...args: unknown[]
Returns number
NATIVE_ VERSION
Returns current iOS/Android SDK version.
1.0.0
-Returns string
Room State
Returns string
Room State
An enum that represents state of a room. Returns RoomState
1.0.0
-Returns typeof RoomState
Room Type
Returns typeof RoomState
Room Type
An enum that represents different types of a room. Returns RoomType
1.0.0
-Returns typeof RoomType
VERSION
Returns typeof RoomType
VERSION
Returns current React-Native SDK version.
1.0.0
-Returns string
application Id
Returns string
application Id
Returns current application ID.
1.0.0
-Returns string
current User
Returns string
current User
Gets the current
User
. Returns the currentUser
. If SendbirdCalls is not authenticated,null
will be returned.1.0.0
-Returns null | User
initialized
Returns null | User
initialized
Returns is SDK initialized.
1.0.0
-Returns boolean
Methods
add Direct Call Sound
Returns boolean
Methods
add Direct Call Sound
Adds sound used in DirectCall such as ringtone and some sound effects with its file name with extension
bundle file name
res/raw file name
1.0.0
-Parameters
type: SoundType
fileName: string
Returns void
android_ handle Firebase Message Data
Parameters
type: SoundType
fileName: string
Returns void
android_ handle Firebase Message Data
Handles Firebase message data. Returns true if Sendbird call message. Otherwise false.
Android
1.0.0
-Parameters
Optional data: Record<string, string>
Returns boolean
authenticate
Parameters
Optional data: Record<string, string>
Returns boolean
authenticate
Authenticates.
1.0.0
-Parameters
authParams: AuthenticateParams
Returns Promise<User>
create Direct Call Log List Query
Parameters
authParams: AuthenticateParams
Returns Promise<User>
create Direct Call Log List Query
Creates direct call log list query.
1.0.0
-Parameters
params: DirectCallLogQueryParams = {}
Returns Promise<DirectCallLogListQuery>
create Room
Parameters
params: DirectCallLogQueryParams = {}
Returns Promise<DirectCallLogListQuery>
create Room
Creates a Room for group calls.
1.0.0
-Parameters
roomParams: RoomParams
Returns Promise<Room>
create Room List Query
Parameters
roomParams: RoomParams
Returns Promise<Room>
create Room List Query
Creates a query for room list with specified parameters.
1.0.0
-Parameters
params: RoomListQueryParams = {}
Returns Promise<RoomListQuery>
deauthenticate
Parameters
params: RoomListQueryParams = {}
Returns Promise<RoomListQuery>
deauthenticate
Deauthenticates.
1.0.0
-Returns Promise<void>
dial
Returns Promise<void>
dial
Makes a call to user(callee) directly. (1:1 Call). Use the CallOptions object to choose initial call configuration (e.g. muted/unmuted)
1.0.0
-Parameters
calleeUserId: string
isVideoCall: boolean
options: CallOptions = ...
Returns Promise<DirectCallProperties>
fetch Room By Id
Parameters
calleeUserId: string
isVideoCall: boolean
options: CallOptions = ...
Returns Promise<DirectCallProperties>
fetch Room By Id
Fetches a room instance from Sendbird server.
1.0.0
-Parameters
roomId: string
Returns Promise<Room>
get Cached Room By Id
Parameters
roomId: string
Returns Promise<Room>
get Cached Room By Id
Gets a locally-cached room instance by room ID.
1.0.0
-Parameters
roomId: string
Returns Promise<null | Room>
get Current User
Parameters
roomId: string
Returns Promise<null | Room>
get Current User
Gets the current
User
from native Returns the currentUser
. If SendbirdCalls is not authenticated,null
will be returned.1.0.0
-Returns Promise<null | User>
get Direct Call
Returns Promise<null | User>
get Direct Call
Gets call from call ID or call UUID
1.0.0
-Parameters
callId: string
Returns Promise<DirectCall>
get Ongoing Calls
Parameters
callId: string
Returns Promise<DirectCall>
get Ongoing Calls
Returns all ongoing calls, including the active call and all calls on hold.
1.0.0
-Returns Promise<DirectCallProperties[]>
initialize
Returns Promise<DirectCallProperties[]>
initialize
Initializes SendbirdCalls.
1.0.0
-Parameters
appId: string
Returns boolean
ios_ register VoIPPush Token
Parameters
appId: string
Returns boolean
ios_ register VoIPPush Token
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.iOS
1.0.0
-Parameters
token: string
unique: boolean = true
Returns Promise<void>
ios_ route Picker View
Parameters
token: string
unique: boolean = true
Returns Promise<void>
ios_ route Picker View
Show-up a view that allows user to change the system audio route. AVRoutePickerView in iOS 11 or later
iOS
1.0.0
-Returns void
ios_ unregister VoIPPush Token
Returns void
ios_ unregister VoIPPush Token
Unregisters a VoIP push token of specific device. You will not receive VoIP push notification for a call anymore.
iOS
1.0.0
-Parameters
token: string
Returns Promise<void>
register Push Token
Parameters
token: string
Returns Promise<void>
register Push Token
Registers push token for current user.
on iOS, push token means APNS token. on Android, push token means FCM token.