PHImageManager.RequestPlayerItem 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求用于播放的指定资产。
[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
- resultHandler
- PHImageManagerRequestPlayerHandler
返回
- 属性