Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

VolumeProviderCompat.Callback

public static abstract class VolumeProviderCompat.Callback
extends Object

java.lang.Object
   ↳ androidx.media.VolumeProviderCompat.Callback


Listens for changes to the volume.

Summary

Public constructors

VolumeProviderCompat.Callback()

Public methods

abstract void onVolumeChanged(VolumeProviderCompat volumeProvider)

Inherited methods

Public constructors

VolumeProviderCompat.Callback

public VolumeProviderCompat.Callback ()

Public methods

onVolumeChanged

public abstract void onVolumeChanged (VolumeProviderCompat volumeProvider)

Parameters
volumeProvider VolumeProviderCompat