TuSDKResult Class Reference

Inherits from NSObject
Declared in TuSDKResult.h

Overview

SDK处理结果

  metadata

图片EXIF信息

@property (nonatomic, retain) NSMutableDictionary *metadata

Declared In

TuSDKResult.h

  imageOrientation

图片方向

@property (nonatomic) UIImageOrientation imageOrientation

Declared In

TuSDKResult.h

  image

获取的图片对象 (为保证内存使用空间, 当保存图片到系统相册或临时文件时,image对象会被清理)

@property (nonatomic, retain) UIImage *image

Declared In

TuSDKResult.h

  imagePath

临时文件路径

@property (nonatomic, copy) NSString *imagePath

Declared In

TuSDKResult.h

  imageAsset

相册图片对象

@property (nonatomic, retain) id<TuSDKTSAssetInterface> imageAsset

Declared In

TuSDKResult.h

  imageAssets

相册图片列表

@property (nonatomic, retain) NSArray<TuSDKTSAssetInterface> *imageAssets

Declared In

TuSDKResult.h

  cutRect

裁剪区域

@property (nonatomic) CGRect cutRect

Declared In

TuSDKResult.h

  cutSize

裁剪长宽

@property (nonatomic) CGSize cutSize

Declared In

TuSDKResult.h

  cutScale

裁切时缩放

@property (nonatomic) CGFloat cutScale

Declared In

TuSDKResult.h

  cutRatioType

裁剪比例类型

@property (nonatomic) lsqRatioType cutRatioType

Declared In

TuSDKResult.h

  imageRatio

图片比例

@property (nonatomic) CGFloat imageRatio

Declared In

TuSDKResult.h

  filterCode

滤镜代号

@property (nonatomic, copy) NSString *filterCode

Declared In

TuSDKResult.h

  filterWrap

当前所使用的滤镜

@property (nonatomic, retain) TuSDKFilterWrap *filterWrap

Declared In

TuSDKResult.h

  stickers

贴纸列表

@property (nonatomic, retain) NSArray *stickers

Declared In

TuSDKResult.h

  outIndex

输出排序索引

@property (nonatomic, assign) NSInteger outIndex

Declared In

TuSDKResult.h

+ result

SDK处理结果

+ (instancetype)result

Return Value

SDK处理结果

Declared In

TuSDKResult.h

– fixedMetadata

修正图片EXIF信息

- (void)fixedMetadata

Declared In

TuSDKResult.h

– loadResultImage

加载结果图片

- (UIImage *)loadResultImage

Return Value

结果图片 (如果image不存在,会尝试加载tempFilePath,或者asset)

Declared In

TuSDKResult.h

– logInfo

打印出日志信息

- (void)logInfo

Declared In

TuSDKResult.h

– buildTempFile

创建临时文件路径

- (NSString *)buildTempFile

Return Value

临时文件路径

Declared In

TuSDKResult.h