Android.Media.MediaExtractor.ReadSampleData Method
Retrieve the current encoded sample and store it in the byte buffer starting at the given offset.

Syntax

[Android.Runtime.Register("readSampleData", "(Ljava/nio/ByteBuffer;I)I", "")]
public int ReadSampleData (Java.Nio.ByteBuffer byteBuf, int offset)

Parameters

byteBuf
the destination byte buffer
offset
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve the current encoded sample and store it in the byte buffer starting at the given offset.

Note:As of API 21, on success the position and limit of byteBuf is updated to point to the data just read.

[Android Documentation]

Requirements

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