MPPlayableContentDataSource.GetContentItemAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use 'MPPlayableContentDataSource_Extensions.GetContentItemAsync' instead.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Obsolete("Use 'MPPlayableContentDataSource_Extensions.GetContentItemAsync' instead.")]
public virtual System.Threading.Tasks.Task<MediaPlayer.MPContentItem> GetContentItemAsync (string identifier);
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.