enableEarcon
abstract suspend fun enableEarcon( vpaIdentifier: VpaIdentifier, earconType: VpaEarconType, enable: Boolean)
Content copied to clipboard
Enables or disables the earcon of type earconType. An earcon sound will be played only if its corresponding VpaEarconType is enabled.
Parameters
vpaIdentifier
The VPA for which the enabled earcon setting should be updated. This is the identifier given by the VPA in VpaProperties.vpaIdentifier.
earconType
VpaEarconType of the earcon to be updated.
enable
true
if earcon should be enabled, false
otherwise.