Język

AdBuffer Constructor

Definition

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Landroid/os/SharedMemory;IIJI)V", "", ApiSince=34)]
public AdBuffer(int id, string mimeType, Android.OS.SharedMemory buffer, int offset, int length, long presentationTimeUs, Android.Media.MediaCodecBufferFlags flags);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Landroid/os/SharedMemory;IIJI)V", "", ApiSince=34)>]
new Android.Media.TV.AdBuffer : int * string * Android.OS.SharedMemory * int * int * int64 * Android.Media.MediaCodecBufferFlags -> Android.Media.TV.AdBuffer

Parameters

id
Int32
mimeType
String
buffer
SharedMemory
offset
Int32
length
Int32
presentationTimeUs
Int64
flags
MediaCodecBufferFlags

Value is either 0 or a combination of the following: MediaCodec.BUFFER_FLAG_SYNC_FRAME; MediaCodec.BUFFER_FLAG_KEY_FRAME; MediaCodec.BUFFER_FLAG_CODEC_CONFIG; MediaCodec.BUFFER_FLAG_END_OF_STREAM; MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; MediaCodec.BUFFER_FLAG_DECODE_ONLY

Attributes

Remarks

Android reference for android.media.tv.AdBuffer.AdBuffer.

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