captureAudio

Invokes the device microphone to record audio.

Available for

Model-driven apps (mobile client)

Syntax

context.device.captureAudio()

Return Value

Type: Promise<FileObject>

See Promise and FileObject

Exceptions

See Web service error codes

Device
Power Apps component framework API reference
Power Apps component framework overview