MediaMetadataRetriever.SetDataSourceAsync Method

Definition

Overloads

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

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(Context, Uri)

public System.Threading.Tasks.Task SetDataSourceAsync (Android.Content.Context? context, Android.Net.Uri? uri);
member this.SetDataSourceAsync : Android.Content.Context * Android.Net.Uri -> 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(String, IDictionary<String,String>)

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

Parameters

uri
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(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