MediaActionSound.LoadAsync(MediaActionSoundType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Runs the synchronous sound-load request on a task.
public System.Threading.Tasks.Task LoadAsync(Android.Media.MediaActionSoundType soundName);
member this.LoadAsync : Android.Media.MediaActionSoundType -> System.Threading.Tasks.Task
Parameters
- soundName
- MediaActionSoundType
The predefined media-action sound to pass to the synchronous load call.
Returns
A task that completes when the load request returns, not when sample decoding finishes. Some loading errors can be logged without throwing from that request.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.