MediaExtractor.SetDataSourceAsync Method

Definition

Overloads

SetDataSourceAsync(AssetFileDescriptor)
SetDataSourceAsync(MediaDataSource)
SetDataSourceAsync(FileDescriptor)
SetDataSourceAsync(String)
SetDataSourceAsync(String, IDictionary<String,String>)
SetDataSourceAsync(Context, Uri, IDictionary<String,String>)
SetDataSourceAsync(FileDescriptor, Int64, Int64)

SetDataSourceAsync(AssetFileDescriptor)

public System.Threading.Tasks.Task SetDataSourceAsync (Android.Content.Res.AssetFileDescriptor afd);
member this.SetDataSourceAsync : Android.Content.Res.AssetFileDescriptor -> System.Threading.Tasks.Task

Parameters

Returns

Remarks

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

SetDataSourceAsync(MediaDataSource)

public System.Threading.Tasks.Task SetDataSourceAsync (Android.Media.MediaDataSource dataSource);
member this.SetDataSourceAsync : Android.Media.MediaDataSource -> System.Threading.Tasks.Task

Parameters

dataSource
MediaDataSource

Returns

Remarks

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

SetDataSourceAsync(FileDescriptor)

public System.Threading.Tasks.Task SetDataSourceAsync (Java.IO.FileDescriptor fd);
member this.SetDataSourceAsync : Java.IO.FileDescriptor -> System.Threading.Tasks.Task

Parameters

Returns

Remarks

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

SetDataSourceAsync(String)

public System.Threading.Tasks.Task SetDataSourceAsync (string path);
member this.SetDataSourceAsync : string -> System.Threading.Tasks.Task

Parameters

path
String

Returns

Remarks

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

SetDataSourceAsync(String, IDictionary<String,String>)

public System.Threading.Tasks.Task SetDataSourceAsync (string path, System.Collections.Generic.IDictionary<string,string>? headers);
member this.SetDataSourceAsync : string * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task

Parameters

path
String

Returns

Remarks

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

SetDataSourceAsync(Context, Uri, IDictionary<String,String>)

public System.Threading.Tasks.Task SetDataSourceAsync (Android.Content.Context context, Android.Net.Uri uri, System.Collections.Generic.IDictionary<string,string>? headers);
member this.SetDataSourceAsync : Android.Content.Context * Android.Net.Uri * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task

Parameters

context
Context
uri
Uri

Returns

Remarks

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

SetDataSourceAsync(FileDescriptor, Int64, Int64)

public System.Threading.Tasks.Task SetDataSourceAsync (Java.IO.FileDescriptor fd, long offset, long length);
member this.SetDataSourceAsync : Java.IO.FileDescriptor * int64 * int64 -> System.Threading.Tasks.Task

Parameters

offset
Int64
length
Int64

Returns

Remarks

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