Edit

Share via


PHAsset.FetchAssets Method

Definition

Overloads

FetchAssets(PHAssetMediaType, PHFetchOptions)

Fetches the PHAsset objects of the specified mediaType that match options.

FetchAssets(PHAssetCollection, PHFetchOptions)

Retrieves the PHAsset objects in assetCollection that satisfy options.

FetchAssets(String, PHFetchOptions)

Fetches the PHAsset objects created in the burst with the specified burstIdentifier that match options.

FetchAssets(PHFetchOptions)

Retrieves the PHAsset objects that match options.

FetchAssets(NSUrl[], PHFetchOptions)

Developers should not use this deprecated method.

FetchAssets(PHAssetMediaType, PHFetchOptions)

Fetches the PHAsset objects of the specified mediaType that match options.

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

Parameters

mediaType
PHAssetMediaType
options
PHFetchOptions

To be added.

This parameter can be null.

Returns

Attributes

Applies to

FetchAssets(PHAssetCollection, PHFetchOptions)

Retrieves the PHAsset objects in assetCollection that satisfy 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

Parameters

assetCollection
PHAssetCollection
options
PHFetchOptions

To be added.

This parameter can be null.

Returns

Attributes

Applies to

FetchAssets(String, PHFetchOptions)

Fetches the PHAsset objects created in the burst with the specified burstIdentifier that match options.

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

Parameters

burstIdentifier
String
options
PHFetchOptions

To be added.

This parameter can be null.

Returns

Attributes

Applies to

FetchAssets(PHFetchOptions)

Retrieves the PHAsset objects that match options.

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

Parameters

options
PHFetchOptions

To be added.

This parameter can be null.

Returns

Attributes

Applies to

FetchAssets(NSUrl[], PHFetchOptions)

Developers should not use this deprecated method.

[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

Parameters

assetUrls
NSUrl[]
options
PHFetchOptions

To be added.

This parameter can be null.

Returns

Attributes

Applies to