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
– getEffectsVolumeOfEffect:
required method
获取指定音效的音量
- (float)getEffectsVolumeOfEffect:(NSInteger)soundId
Discussion
获取指定音效的音量
Declared In
RCRTCEffectProtocol.h
– setVolumeOfEffect:withVolume:
required method
- (RCRTCCode)setVolumeOfEffect:(NSInteger)soundId withVolume:(float)volume
– preloadEffect:filePath:
required method
- (RCRTCCode)preloadEffect:(NSInteger)soundId filePath:(NSString *_Nullable)filePath