AdBuffer.SharedMemory Property

Definition

Gets the SharedMemory which stores the data.

public Android.OS.SharedMemory SharedMemory { [Android.Runtime.Register("getSharedMemory", "()Landroid/os/SharedMemory;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getSharedMemory", "()Landroid/os/SharedMemory;", "", ApiSince=34)>]
member this.SharedMemory : Android.OS.SharedMemory

Property Value

The SharedMemory that stores the data for this ad buffer.

Attributes

Remarks

Gets the SharedMemory which stores the data.

Information on how the data in this buffer is formatted can be found using AdRequest#getMetadata()

This data lives in a SharedMemory instance because of the potentially large amount of data needed to store the ad. This optimizes the data communication between the ad data source and the service responsible for its display.

Java documentation for android.media.tv.AdBuffer.getSharedMemory().

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