TuSDKTSAssetsGroupInterface Protocol Reference

Conforms to NSObject
Declared in TuSDKTSAsset.h

Overview

媒体资源组对象接口

  userLibrary required method

是否为相机胶卷(all photos)

@property (nonatomic, readonly) BOOL userLibrary

Declared In

TuSDKTSAsset.h

  title required method

相册标题

@property (nonatomic, readonly) NSString *title

Declared In

TuSDKTSAsset.h

  count required method

包含相片总数

@property (nonatomic, readonly) NSUInteger count

Declared In

TuSDKTSAsset.h

  posterImage required method

相册封面图片

@property (nonatomic, readonly) UIImage *posterImage

Declared In

TuSDKTSAsset.h

– allPhotosWithSortKeyType:ascending: required method

根据指定的排序字段 获取该组所有相片信息

- (NSArray<TuSDKTSAssetInterface> *)allPhotosWithSortKeyType:(lsqAssetSortKeyType)sortKeyType ascending:(BOOL)ascending

Parameters

sortKeyType

排序类型

ascending

排序方式(升序/降序)

Return Value

该组所有相片信息

Declared In

TuSDKTSAsset.h

– allPhotos required method

获取该组所有相片信息 (默认根据创建时间排序)

- (NSArray<TuSDKTSAssetInterface> *)allPhotos

Return Value

该组所有相片信息

Declared In

TuSDKTSAsset.h