PHImageManager.RequestPlayerItem 方法

定义

请求用于播放的指定资产。

[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

参数

asset
PHAsset
options
PHVideoRequestOptions

内容待定。

此参数可以为 null

返回

属性

适用于