TuSDKMediaPlayer Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKMediaPlayer.h |
volume
required method
播放器的音频播放量,从0.0到1.0的线性范围。
@property (nonatomic) float volume
Availability
v3.0
Declared In
TuSDKMediaPlayer.h
– currentTime
required method
获取已播放持续时间
- (CMTime)currentTime
Return Value
播放持续时间
Availability
v3.0
Declared In
TuSDKMediaPlayer.h
– seekToTime:
required method
将当前回放时间设置为指定的时间
- (void)seekToTime:(CMTime)outputTime
Availability
v3.0
Declared In
TuSDKMediaPlayer.h
– canSupportedReverse
required method
验证当前播放器是否支持倒序播放
- (BOOL)canSupportedReverse
Return Value
true/false
Availability
v3.0
Declared In
TuSDKMediaPlayer.h
– destory
required method
销毁播放器并释放持有的资源
- (void)destory
Availability
v3.0.1
Declared In
TuSDKMediaPlayer.h