Share via


IMPPlayableContentDataSource.GetContentItemAsync(String) Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<MediaPlayer.MPContentItem> GetContentItemAsync(string identifier);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetContentItemAsync : string -> System.Threading.Tasks.Task<MediaPlayer.MPContentItem>
override this.GetContentItemAsync : string -> System.Threading.Tasks.Task<MediaPlayer.MPContentItem>

Parameters

identifier
String

Returns

A task that represents the asynchronous GetContentItem operation. The value of the TResult parameter is of type System.Action<MediaPlayer.MPContentItem,Foundation.NSError>.

Attributes

Remarks

The GetContentItemAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to