Compartilhar via


AudioEffect.ExtraContentType Field

Definition

Indicates which type of content is played by the application.

[Android.Runtime.Register("EXTRA_CONTENT_TYPE")]
public const string ExtraContentType;
[<Android.Runtime.Register("EXTRA_CONTENT_TYPE")>]
val mutable ExtraContentType : string

Field Value

Attributes

Remarks

Indicates which type of content is played by the application.

This extra is for use with #ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL and #ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION intents.

This information is used by the effect control application to customize UI and select appropriate default effect settings. The content type is one of the following: <ul> <li>#CONTENT_TYPE_MUSIC</li> <li>#CONTENT_TYPE_MOVIE</li> <li>#CONTENT_TYPE_GAME</li> <li>#CONTENT_TYPE_VOICE</li> </ul> If omitted, the content type defaults to #CONTENT_TYPE_MUSIC.

Java documentation for android.media.audiofx.AudioEffect.EXTRA_CONTENT_TYPE.

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.

Applies to