TuSDKAudioInfo Class Reference

Inherits from NSObject
Declared in TuSDKAudioInfo.h

Overview

音频信息

  audioTrackInfoArray

音频轨道信息

@property (nonatomic, readonly) NSArray<TuSDKAudioTrackInfo*> *audioTrackInfoArray

Availability

音频轨道信息

3.0

Declared In

TuSDKAudioInfo.h

  duration

持续时间

@property (nonatomic, readonly) CMTime duration

Availability

3.0

Declared In

TuSDKAudioInfo.h

– loadAsynchronouslyForAssetInfo:completionHandler:

异步加载音频信息

- (void)loadAsynchronouslyForAssetInfo:(AVAsset *)asset completionHandler:(void ( ^ ) ( void ))handler

Parameters

asset

AVAsset

handler

完成后回调

Availability

3.0

Declared In

TuSDKAudioInfo.h

– loadSynchronouslyForAssetInfo:

同步加载音频信息

- (void)loadSynchronouslyForAssetInfo:(AVAsset *)asset

Parameters

asset

AVAsset

Availability

3.0

Declared In

TuSDKAudioInfo.h