Android.Media.MediaExtractor.SetDataSource Method
Sets the data source (FileDescriptor) to use.

Syntax

[Android.Runtime.Register("setDataSource", "(Ljava/io/FileDescriptor;)V", "")]
public void SetDataSource (Java.IO.FileDescriptor fd)

Parameters

fd
the FileDescriptor for the file you want to extract from.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Sets the data source (FileDescriptor) to use. It is the caller's responsibility to close the file descriptor. It is safe to do so as soon as this call returns.

[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