RCRTCEffectProtocol Protocol Reference

Conforms to NSObject
Declared in RCRTCEffectProtocol.h

– playEffect:filePath:loopCount:publish: required method

- (RCRTCCode)playEffect:(NSInteger)soundId filePath:(NSString *_Nullable)filePath loopCount:(int)loopCount publish:(BOOL)publish

– stopEffect: required method

- (RCRTCCode)stopEffect:(NSInteger)soundId

– stopAllEffects required method

- (RCRTCCode)stopAllEffects

– getEffectsVolume required method

- (float)getEffectsVolume

– getEffectsVolumeOfEffect: required method

获取指定音效的音量

- (float)getEffectsVolumeOfEffect:(NSInteger)soundId

Discussion

获取指定音效的音量

Declared In

RCRTCEffectProtocol.h

– setEffectsVolume: required method

- (RCRTCCode)setEffectsVolume:(float)volume

– setVolumeOfEffect:withVolume: required method

- (RCRTCCode)setVolumeOfEffect:(NSInteger)soundId withVolume:(float)volume

– preloadEffect:filePath: required method

- (RCRTCCode)preloadEffect:(NSInteger)soundId filePath:(NSString *_Nullable)filePath

– unloadEffect: required method

- (RCRTCCode)unloadEffect:(NSInteger)soundId

– pauseEffect: required method

- (RCRTCCode)pauseEffect:(NSInteger)soundId

– pauseAllEffects required method

- (RCRTCCode)pauseAllEffects

– resumeEffect: required method

- (RCRTCCode)resumeEffect:(NSInteger)soundId

– resumeAllEffects required method

- (RCRTCCode)resumeAllEffects

– isEndEffect: required method

- (BOOL)isEndEffect:(NSUInteger)effectId