TuSDKTSMotion Class Reference

Inherits from NSObject
Declared in TuSDKTSMotion.h

Overview

物理感应器方向

  deviceOrientation

物理感应器方向

@property (nonatomic, readonly) UIDeviceOrientation deviceOrientation

Declared In

TuSDKTSMotion.h

  videoOrientation

物理感应器方向所对应的视频方向

@property (nonatomic, readonly) AVCaptureVideoOrientation videoOrientation

Declared In

TuSDKTSMotion.h

  videoInputTransform

物理感应器方向所对应的视频transform (主要针对录制时的 AVAssetWriterInput 的 transform)

@property (nonatomic, readonly) CGAffineTransform videoInputTransform

Declared In

TuSDKTSMotion.h

  deviceRadian

物理感应器弧度

@property (nonatomic, readonly) float deviceRadian

Declared In

TuSDKTSMotion.h

  imageOrientation

根据物理方向转变为图片方向

@property (nonatomic, readonly) UIImageOrientation imageOrientation

Declared In

TuSDKTSMotion.h

  affineTransform

视图旋转方向

@property (nonatomic, readonly) CGAffineTransform affineTransform

Declared In

TuSDKTSMotion.h

  delegate

物理感应器方向委托

@property (nonatomic, weak) id<TuSDKTSMotionDelegate> delegate

Declared In

TuSDKTSMotion.h

+ motion

物理感应器方向

+ (instancetype)motion

Return Value

物理感应器方向

Declared In

TuSDKTSMotion.h

– start

开始监听物理感应器

- (void)start

Declared In

TuSDKTSMotion.h

– stop

停止监听物理感应器

- (void)stop

Declared In

TuSDKTSMotion.h