@sendbird/calls-react-native
Preparing search index...
DirectCallMethods
Interface DirectCallMethods
interface
DirectCallMethods
{
android_resumeAudioTrack
:
(
...
args
:
[
]
)
=>
void
;
android_resumeVideoCapturer
:
(
...
args
:
[
]
)
=>
void
;
android_selectAudioDevice
:
(
...
args
:
[
device
:
AudioDeviceType
]
)
=>
Promise
;
muteMicrophone
:
(
...
args
:
[
]
)
=>
void
;
selectVideoDevice
:
(
...
args
:
[
device
:
VideoDevice
]
)
=>
Promise
;
startVideo
:
(
...
args
:
[
]
)
=>
void
;
stopVideo
:
(
...
args
:
[
]
)
=>
void
;
switchCamera
:
(
...
args
:
[
]
)
=>
Promise
;
unmuteMicrophone
:
(
...
args
:
[
]
)
=>
void
;
accept
(
...
args
:
[
options
:
CallOptions
,
holdActiveCall
:
boolean
]
)
:
Promise
;
addListener
(
listener
:
Partial
<
DirectCallListener
>
)
:
()
=>
void
;
deleteAllCustomItems
()
:
Promise
<
CustomItemUpdateResult
>
;
deleteCustomItems
(
customItemKeys
:
string
[]
,
)
:
Promise
<
CustomItemUpdateResult
>
;
end
(
...
args
:
[
]
)
:
Promise
;
updateCustomItems
(
customItems
:
Record
<
string
,
string
>
,
)
:
Promise
<
CustomItemUpdateResult
>
;
updateLocalVideoView
(
...
args
:
[
videoViewId
:
number
]
)
:
void
;
updateRemoteVideoView
(
...
args
:
[
videoViewId
:
number
]
)
:
void
;
}
Hierarchy
JSDirectCallModule
JSDirectCallMediaDeviceControl
DirectCallMethods
Implemented by
DirectCall
Index
Properties
android_
resume
Audio
Track
android_
resume
Video
Capturer
android_
select
Audio
Device
mute
Microphone
select
Video
Device
start
Video
stop
Video
switch
Camera
unmute
Microphone
Methods
accept
add
Listener
delete
All
Custom
Items
delete
Custom
Items
end
update
Custom
Items
update
Local
Video
View
update
Remote
Video
View
Properties
android_
resume
Audio
Track
android_resumeAudioTrack
:
(
...
args
:
[
]
)
=>
void
android_
resume
Video
Capturer
android_resumeVideoCapturer
:
(
...
args
:
[
]
)
=>
void
android_
select
Audio
Device
android_selectAudioDevice
:
(
...
args
:
[
device
:
AudioDeviceType
]
)
=>
Promise
mute
Microphone
muteMicrophone
:
(
...
args
:
[
]
)
=>
void
select
Video
Device
selectVideoDevice
:
(
...
args
:
[
device
:
VideoDevice
]
)
=>
Promise
start
Video
startVideo
:
(
...
args
:
[
]
)
=>
void
stop
Video
stopVideo
:
(
...
args
:
[
]
)
=>
void
switch
Camera
switchCamera
:
(
...
args
:
[
]
)
=>
Promise
unmute
Microphone
unmuteMicrophone
:
(
...
args
:
[
]
)
=>
void
Methods
accept
accept
(
...
args
:
[
options
:
CallOptions
,
holdActiveCall
:
boolean
]
)
:
Promise
Parameters
...
args
:
[
options
:
CallOptions
,
holdActiveCall
:
boolean
]
Returns
Promise
add
Listener
addListener
(
listener
:
Partial
<
DirectCallListener
>
)
:
()
=>
void
Parameters
listener
:
Partial
<
DirectCallListener
>
Returns
()
=>
void
delete
All
Custom
Items
deleteAllCustomItems
()
:
Promise
<
CustomItemUpdateResult
>
Returns
Promise
<
CustomItemUpdateResult
>
delete
Custom
Items
deleteCustomItems
(
customItemKeys
:
string
[]
)
:
Promise
<
CustomItemUpdateResult
>
Parameters
customItemKeys
:
string
[]
Returns
Promise
<
CustomItemUpdateResult
>
end
end
(
...
args
:
[
]
)
:
Promise
Parameters
...
args
:
[
]
Returns
Promise
update
Custom
Items
updateCustomItems
(
customItems
:
Record
<
string
,
string
>
,
)
:
Promise
<
CustomItemUpdateResult
>
Parameters
customItems
:
Record
<
string
,
string
>
Returns
Promise
<
CustomItemUpdateResult
>
update
Local
Video
View
updateLocalVideoView
(
...
args
:
[
videoViewId
:
number
]
)
:
void
Parameters
...
args
:
[
videoViewId
:
number
]
Returns
void
update
Remote
Video
View
updateRemoteVideoView
(
...
args
:
[
videoViewId
:
number
]
)
:
void
Parameters
...
args
:
[
videoViewId
:
number
]
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
android_
resume
Audio
Track
android_
resume
Video
Capturer
android_
select
Audio
Device
mute
Microphone
select
Video
Device
start
Video
stop
Video
switch
Camera
unmute
Microphone
Methods
accept
add
Listener
delete
All
Custom
Items
delete
Custom
Items
end
update
Custom
Items
update
Local
Video
View
update
Remote
Video
View
@sendbird/calls-react-native
Loading...