/**
* Listens the volume key long-presses.
* @hide
*/
@SystemApi
public interface OnVolumeKeyLongPressListener {
/**
* Called when the volume key is long-pressed.
* <p>This will be called for both down and up events.
*/
void onVolumeKeyLongPress(KeyEvent event);
}
That interface is hidden inside the MediaSessionManager and thus I can't manage to build this app inside the android studio. Is there a way to build that stuff easily?
That interface is hidden inside the MediaSessionManager and thus I can't manage to build this app inside the android studio. Is there a way to build that stuff easily?