Android.Provider.MediaStore.IntentActionMediaPlayFromSearch Field
An intent to perform a search for music media and automatically play content from the result when possible.

Syntax

[Android.Runtime.Register("INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH")]
public const string IntentActionMediaPlayFromSearch

Remarks

An intent to perform a search for music media and automatically play content from the result when possible. This can be fired, for example, by the result of a voice recognition command to listen to music.

This intent always includes the MediaStore.ExtraMediaFocus and Android.App.SearchManager.Query extras. The MediaStore.ExtraMediaFocus extra determines the search mode, and the value of the Android.App.SearchManager.Query extra depends on the search mode. For more information about the search modes for this intent, see Play music based on a search query in Common Intents.

This intent makes the most sense for apps that can support large-scale search of music, such as services connected to an online database of music which can be streamed and played on the device.

[Android Documentation]

Requirements

Namespace: Android.Provider
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9