mergAVAudioSessionSetActive |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | mergAVAudioSessionSetActive <pActive>
|
Associations | mergav |
Summary | Activate/deactivate the audio session
|
Introduced | 8.0 |
OS | ios, mac |
Platforms | desktop, mobile |
Parameters | Name | Type | Description |
---|
pActive | |
|
|
Values | Name | Type | Description |
---|
return | | an error message if setting the category failed
|
|
Description | Use mergNotify to handle interruption notifications like
AVAudioSessionDidEndInterruptionNotification and
AVAudioSessionDidBeginInterruptionNotification. After an interruption
reset the category and reactivate your audio session.
|
Tags | externals |