PDL_SetAutomaticSoundPausing

Description

Enables or disables automatic sound pausing when carded.

When set to PDL_TRUE, sounds are paused at a system level when the app is carded - this does not affect the pause state apparent to the app.

When set to PDL_FALSE, no special sound-related actions are taken when carded.

The default value is PDL_TRUE.

Note: This API has been available since webOS 3.0.2 (PDK version 303).

Syntax

PDL_Err PDL_SetAutomaticSoundPausing(PDL_bool AutomaticallyPause)

Returns

PDL_NOERROR - Success
PDL_EOTHER - Unknown problem setting automatic sound pause state.