Package com.opentok.android
Interface PublisherKit.AudioLevelListener
-
- Enclosing class:
- PublisherKit
public static interface PublisherKit.AudioLevelListener
Monitors changes in the audio level of the publisher.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAudioLevelUpdated(PublisherKit publisher, float audioLevel)
Called periodically to report the audio level of the publisher.
-
-
-
Method Detail
-
onAudioLevelUpdated
void onAudioLevelUpdated(PublisherKit publisher, float audioLevel)
Called periodically to report the audio level of the publisher.- Parameters:
publisher
- The publisher.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).
-
-