HMSDiagnosticsInterface
Implemented by
Methods
checkBrowserSupport
▸ checkBrowserSupport(): void
Returns
void
getRecordedAudio
▸ getRecordedAudio(): undefined
| string
Returns
undefined
| string
requestPermission
▸ requestPermission(check
): Promise
<MediaPermissionCheck
>
Parameters
Name | Type |
---|---|
check | MediaPermissionCheck |
Returns
Promise
<MediaPermissionCheck
>
startCameraCheck
▸ startCameraCheck(inputDevice?
): Promise
<void
>
Parameters
Name | Type |
---|---|
inputDevice? | string |
Returns
Promise
<void
>
startConnectivityCheck
▸ startConnectivityCheck(progress
, completed
, region?
): Promise
<void
>
Parameters
Name | Type |
---|---|
progress | (state : ConnectivityState ) => void |
completed | (result : ConnectivityCheckResult ) => void |
region? | string |
Returns
Promise
<void
>
startMicCheck
▸ startMicCheck(args
): Promise
<void
>
Parameters
Name | Type |
---|---|
args | Object |
args.inputDevice? | string |
args.onError? | (error : Error ) => void |
args.onStop? | () => void |
args.time? | number |
Returns
Promise
<void
>
stopCameraCheck
▸ stopCameraCheck(): void
Returns
void
stopConnectivityCheck
▸ stopConnectivityCheck(): Promise
<void
>
Returns
Promise
<void
>
stopMicCheck
▸ stopMicCheck(): void
Returns
void
Have a suggestion? Recommend changes ->