PHAsset.FetchAssets 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FetchAssets(PHAssetMediaType, PHFetchOptions) |
提取PHAsset与 匹配 |
FetchAssets(PHAssetCollection, PHFetchOptions) |
检索 中PHAsset |
FetchAssets(String, PHFetchOptions) |
使用PHAsset与 匹配 |
FetchAssets(PHFetchOptions) |
检索 PHAsset 与 匹配 |
FetchAssets(NSUrl[], PHFetchOptions) |
开发人员不应使用此已弃用的方法。 |
FetchAssets(PHAssetMediaType, PHFetchOptions)
提取PHAsset与 匹配options
的指定 mediaType
的 对象。
[Foundation.Export("fetchAssetsWithMediaType:options:")]
public static Photos.PHFetchResult FetchAssets (Photos.PHAssetMediaType mediaType, Photos.PHFetchOptions options);
static member FetchAssets : Photos.PHAssetMediaType * Photos.PHFetchOptions -> Photos.PHFetchResult
参数
- mediaType
- PHAssetMediaType
返回
- 属性
适用于
FetchAssets(PHAssetCollection, PHFetchOptions)
检索 中PHAssetassetCollection
满足 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
参数
- assetCollection
- PHAssetCollection
返回
- 属性
适用于
FetchAssets(String, PHFetchOptions)
使用PHAsset与 匹配options
的指定 burstIdentifier
提取在突发中创建的对象。
[Foundation.Export("fetchAssetsWithBurstIdentifier:options:")]
public static Photos.PHFetchResult FetchAssets (string burstIdentifier, Photos.PHFetchOptions options);
static member FetchAssets : string * Photos.PHFetchOptions -> Photos.PHFetchResult
参数
- burstIdentifier
- String
返回
- 属性
适用于
FetchAssets(PHFetchOptions)
检索 PHAsset 与 匹配 options
的对象。
[Foundation.Export("fetchAssetsWithOptions:")]
public static Photos.PHFetchResult FetchAssets (Photos.PHFetchOptions options);
static member FetchAssets : Photos.PHFetchOptions -> Photos.PHFetchResult
参数
返回
- 属性
适用于
FetchAssets(NSUrl[], PHFetchOptions)
开发人员不应使用此已弃用的方法。
[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
参数
- assetUrls
- NSUrl[]
返回
- 属性