PHAsset.FetchAssets Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FetchAssets(PHAssetMediaType, PHFetchOptions) |
Fetches the PHAsset objects of the specified |
FetchAssets(PHAssetCollection, PHFetchOptions) |
Retrieves the PHAsset objects in |
FetchAssets(String, PHFetchOptions) |
Fetches the PHAsset objects created in the burst with the specified |
FetchAssets(PHFetchOptions) |
Retrieves the PHAsset objects that match |
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
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
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
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
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[]
Returns
- Attributes