KSYGPUBgmStreamerKit Class Reference

Inherits from KSYGPUStreamerKit : NSObject
Declared in KSYGPUBgmStreamerKit.h

  ksyBgmPlayer

背景音乐播放器

@property (nonatomic, strong) KSYMoviePlayerController *ksyBgmPlayer

Declared In

KSYGPUBgmStreamerKit.h

– startPlayBgm:

开始播放背景音乐

- (void)startPlayBgm:(NSString *)path

Parameters

path

背景音乐的路径

Declared In

KSYGPUBgmStreamerKit.h

– stopPlayBgm

停止播放背景音乐

- (void)stopPlayBgm

Declared In

KSYGPUBgmStreamerKit.h

– getBgmStateName:

获取状态对应的字符串

- (NSString *)getBgmStateName:(MPMoviePlaybackState)stat

Parameters

stat

状态

Declared In

KSYGPUBgmStreamerKit.h

– getCurBgmStateName

获取当前状态对应的字符串

- (NSString *)getCurBgmStateName

Declared In

KSYGPUBgmStreamerKit.h

  BgmState

播放状态

@property (nonatomic, readonly) MPMoviePlaybackState BgmState

Declared In

KSYGPUBgmStreamerKit.h