Bagikan melalui


PHImageManager.RequestPlayerItem Metode

Definisi

Meminta aset yang ditentukan untuk pemutaran.

[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

Parameter

asset
PHAsset
options
PHVideoRequestOptions

Untuk ditambahkan.

Parameter ini dapat berupa null.

Mengembalikan

Atribut

Berlaku untuk