Compartilhar via


PHAsset.FetchAssets Método

Definição

Sobrecargas

FetchAssets(PHAssetMediaType, PHFetchOptions)

Busca os PHAsset objetos do especificado mediaType que correspondem optionsa .

FetchAssets(PHAssetCollection, PHFetchOptions)

Recupera os PHAsset objetos no assetCollection que satisfazem options.

FetchAssets(String, PHFetchOptions)

Busca os PHAsset objetos criados na intermitência com o especificado burstIdentifier que corresponde optionsa .

FetchAssets(PHFetchOptions)

Recupera os PHAsset objetos que correspondem optionsa .

FetchAssets(NSUrl[], PHFetchOptions)

Os desenvolvedores não devem usar esse método preterido.

FetchAssets(PHAssetMediaType, PHFetchOptions)

Busca os PHAsset objetos do especificado mediaType que correspondem optionsa .

[Foundation.Export("fetchAssetsWithMediaType:options:")]
public static Photos.PHFetchResult FetchAssets (Photos.PHAssetMediaType mediaType, Photos.PHFetchOptions options);
static member FetchAssets : Photos.PHAssetMediaType * Photos.PHFetchOptions -> Photos.PHFetchResult

Parâmetros

mediaType
PHAssetMediaType
options
PHFetchOptions

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a

FetchAssets(PHAssetCollection, PHFetchOptions)

Recupera os PHAsset objetos no assetCollection que satisfazem options.

[Foundation.Export("fetchAssetsInAssetCollection:options:")]
public static Photos.PHFetchResult FetchAssets (Photos.PHAssetCollection assetCollection, Photos.PHFetchOptions options);
static member FetchAssets : Photos.PHAssetCollection * Photos.PHFetchOptions -> Photos.PHFetchResult

Parâmetros

assetCollection
PHAssetCollection
options
PHFetchOptions

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a

FetchAssets(String, PHFetchOptions)

Busca os PHAsset objetos criados na intermitência com o especificado burstIdentifier que corresponde optionsa .

[Foundation.Export("fetchAssetsWithBurstIdentifier:options:")]
public static Photos.PHFetchResult FetchAssets (string burstIdentifier, Photos.PHFetchOptions options);
static member FetchAssets : string * Photos.PHFetchOptions -> Photos.PHFetchResult

Parâmetros

burstIdentifier
String
options
PHFetchOptions

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a

FetchAssets(PHFetchOptions)

Recupera os PHAsset objetos que correspondem optionsa .

[Foundation.Export("fetchAssetsWithOptions:")]
public static Photos.PHFetchResult FetchAssets (Photos.PHFetchOptions options);
static member FetchAssets : Photos.PHFetchOptions -> Photos.PHFetchResult

Parâmetros

options
PHFetchOptions

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a

FetchAssets(NSUrl[], PHFetchOptions)

Os desenvolvedores não devem usar esse método preterido.

[Foundation.Export("fetchAssetsWithALAssetURLs:options:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public static Photos.PHFetchResult FetchAssets (Foundation.NSUrl[] assetUrls, Photos.PHFetchOptions options);
static member FetchAssets : Foundation.NSUrl[] * Photos.PHFetchOptions -> Photos.PHFetchResult

Parâmetros

assetUrls
NSUrl[]
options
PHFetchOptions

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a