TuSDKTSAssetInterface Protocol Reference

Conforms to NSObject
Declared in TuSDKTSAsset.h

Overview

媒体资源对象接口

  asset required method

媒体资源PHAsset对象 注:相册中用来获取asset对象,判断是否为GIF类型

@property (nonatomic, readonly) PHAsset *asset

Declared In

TuSDKTSAsset.h

  localIdentifier required method

本地标识

@property (nonatomic, readonly) NSString *localIdentifier

Declared In

TuSDKTSAsset.h

  creationDate required method

创建时间

@property (nonatomic, readonly) NSDate *creationDate

Declared In

TuSDKTSAsset.h

  imageOrientation required method

获取相片方向

@property (nonatomic, readonly) UIImageOrientation imageOrientation

Declared In

TuSDKTSAsset.h

  thumbnailImage required method

获取缩略图 图片

@property (nonatomic, readonly) UIImage *thumbnailImage

Declared In

TuSDKTSAsset.h

– requestThumbnailImageWithCompletion: required method

异步获取缩略图

- (void)requestThumbnailImageWithCompletion:(void ( ^ ) ( UIImage *thumbnailImage ))completion

Declared In

TuSDKTSAsset.h

  fullScreenImage required method

获取屏幕大小图片对象

@property (nonatomic, readonly) UIImage *fullScreenImage

Declared In

TuSDKTSAsset.h

  fullResolutionImage required method

获取原始图片对象

@property (nonatomic, readonly) UIImage *fullResolutionImage

Declared In

TuSDKTSAsset.h

  fullResolutionImageSize required method

照片原始宽高

@property (nonatomic, readonly) CGSize fullResolutionImageSize

Declared In

TuSDKTSAsset.h

  metadata required method

获取图片原信息

@property (nonatomic, readonly) NSDictionary *metadata

Declared In

TuSDKTSAsset.h

– asyncFullResolutionImage: required method

异步获取原始图片对象

- (void)asyncFullResolutionImage:(TuSDKTSAssetProgressBlock)block

Parameters

block

回调

Declared In

TuSDKTSAsset.h

– cancelLoadFullResolutionImage required method

取消加载相册图片

- (void)cancelLoadFullResolutionImage

Declared In

TuSDKTSAsset.h

– loadImageWithPixelSize:completed: required method

加载相册图片

- (void)loadImageWithPixelSize:(CGSize)size completed:(void ( ^ ) ( UIImage *result ))completed

Parameters

size

希望输出地相片长宽

completed

图片加载完成

Declared In

TuSDKTSAsset.h

– cancelLoadImageWithPixelSize: required method

取消加载相册图片

- (void)cancelLoadImageWithPixelSize:(CGSize)size

Parameters

size

希望输出地相片长宽

Declared In

TuSDKTSAsset.h