DeviceManagerState type
Dit type is bedoeld om alle toestanden binnen <xref:%40azure%2Fcommunication-calling%23DeviceManager>inkapselen. Voor optionele parameters zijn ze mogelijk niet beschikbaar totdat de gebruiker toestemming verleent. De camera's, microfoons, luidsprekers en deviceAccess-statussen zijn leeg totdat de bijbehorende <xref:%40azure%2Fcommunication-calling%23DeviceManager>getCameras, getMicrophones, getSpeakers en askDevicePermission-API's worden aangeroepen en voltooid.
type DeviceManagerState = {
cameras: VideoDeviceInfo[]
deviceAccess?: DeviceAccess
isSpeakerSelectionAvailable: boolean
microphones: AudioDeviceInfo[]
selectedCamera?: VideoDeviceInfo
selectedMicrophone?: AudioDeviceInfo
selectedSpeaker?: AudioDeviceInfo
speakers: AudioDeviceInfo[]
unparentedViews: LocalVideoStreamState[]
}