AdRequest.Metadata Property

Definition

Gets the metadata of the media file.

public Android.OS.Bundle Metadata { [Android.Runtime.Register("getMetadata", "()Landroid/os/Bundle;", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getMetadata", "()Landroid/os/Bundle;", "", ApiSince=33)>]
member this.Metadata : Android.OS.Bundle

Property Value

The metadata of the media file. Can be an empty bundle for #REQUEST_TYPE_STOP.

Attributes

Remarks

Gets the metadata of the media file.

This includes additional information the TV input needs to play the AD media. This may include fields in android.media.MediaFormat like android.media.MediaFormat#KEY_SAMPLE_RATE, or integrity information like SHA. What data is included depends on the format of the media file.

Java documentation for android.media.tv.AdRequest.getMetadata().

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