Bewerken

Delen via


PHImageManager.RequestPlayerItem Method

Definition

Requests the specified asset for playback.

[Foundation.Export("requestPlayerItemForVideo:options:resultHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual int RequestPlayerItem (Photos.PHAsset asset, Photos.PHVideoRequestOptions options, Photos.PHImageManagerRequestPlayerHandler resultHandler);
abstract member RequestPlayerItem : Photos.PHAsset * Photos.PHVideoRequestOptions * Photos.PHImageManagerRequestPlayerHandler -> int
override this.RequestPlayerItem : Photos.PHAsset * Photos.PHVideoRequestOptions * Photos.PHImageManagerRequestPlayerHandler -> int

Parameters

asset
PHAsset
options
PHVideoRequestOptions

To be added.

This parameter can be null.

Returns

Attributes

Applies to