Package com.opentok.android
Interface SubscriberKit.AudioLevelListener
-
- Enclosing class:
- SubscriberKit
public static interface SubscriberKit.AudioLevelListener
Monitors changes in the audio level of the subscriber.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAudioLevelUpdated(SubscriberKit subscriber, float audioLevel)
Called periodically to report the audio level of the subscriber.
-
-
-
Method Detail
-
onAudioLevelUpdated
void onAudioLevelUpdated(SubscriberKit subscriber, float audioLevel)
Called periodically to report the audio level of the subscriber.- Parameters:
subscriber
- The subscriber.audioLevel
- The audio level, from 0 to 1.0. Adjust this value logarithmically for use in a user interface visualization (such as a volume meter).
-
-