Hiyve Components - v1.0.0
Preparing search index...
@hiyve/react-ui
DeviceClient
Interface DeviceClient
Client interface for device management operations
interface
DeviceClient
{
listAudioInputDevices
()
:
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
;
listAudioOutputDevices
?
()
:
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
;
listVideoDevices
()
:
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
;
setAudioOutputDevice
?
(
options
:
{
audioOutputDeviceId
:
string
}
,
)
:
Promise
<
void
>
;
setLocalAudioInputDevice
(
options
:
{
audioInputDeviceId
:
string
}
,
)
:
Promise
<
void
>
;
setLocalVideoDevice
(
options
:
{
videoDeviceId
:
string
}
)
:
Promise
<
void
>
;
}
Index
Methods
list
Audio
Input
Devices
list
Audio
Output
Devices?
list
Video
Devices
set
Audio
Output
Device?
set
Local
Audio
Input
Device
set
Local
Video
Device
Methods
list
Audio
Input
Devices
listAudioInputDevices
()
:
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
Returns
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
Optional
list
Audio
Output
Devices
listAudioOutputDevices
?
()
:
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
Returns
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
list
Video
Devices
listVideoDevices
()
:
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
Returns
Promise
<
{
deviceId
:
string
;
label
:
string
}
[]
>
Optional
set
Audio
Output
Device
setAudioOutputDevice
?
(
options
:
{
audioOutputDeviceId
:
string
}
)
:
Promise
<
void
>
Parameters
options
:
{
audioOutputDeviceId
:
string
}
Returns
Promise
<
void
>
set
Local
Audio
Input
Device
setLocalAudioInputDevice
(
options
:
{
audioInputDeviceId
:
string
}
)
:
Promise
<
void
>
Parameters
options
:
{
audioInputDeviceId
:
string
}
Returns
Promise
<
void
>
set
Local
Video
Device
setLocalVideoDevice
(
options
:
{
videoDeviceId
:
string
}
)
:
Promise
<
void
>
Parameters
options
:
{
videoDeviceId
:
string
}
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
list
Audio
Input
Devices
list
Audio
Output
Devices
list
Video
Devices
set
Audio
Output
Device
set
Local
Audio
Input
Device
set
Local
Video
Device
Hiyve Components - v1.0.0
Loading...
Client interface for device management operations