HMSDiagnosticsInterface

Implemented by

Methods

checkBrowserSupport

checkBrowserSupport(): void

Returns

void


getRecordedAudio

getRecordedAudio(): undefined | string

Returns

undefined | string


requestPermission

requestPermission(check): Promise<MediaPermissionCheck>

Parameters

Returns

Promise<MediaPermissionCheck>


startCameraCheck

startCameraCheck(inputDevice?): Promise<void>

Parameters

NameType
inputDevice?string

Returns

Promise<void>


startConnectivityCheck

startConnectivityCheck(progress, completed, region?): Promise<void>

Parameters

NameType
progress(state: ConnectivityState) => void
completed(result: ConnectivityCheckResult) => void
region?string

Returns

Promise<void>


startMicCheck

startMicCheck(args): Promise<void>

Parameters

NameType
argsObject
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 ->

Was this helpful?

1234