SoundscapeMediaSessionCallback

This callback class handles media button events generated by bluetooth headphones etc. These are then mapped to specific Soundscape features.

Constructors

Link copied to clipboard
constructor(service: SoundscapeService)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onMediaButtonEvent(session: MediaSession, controllerInfo: MediaSession.ControllerInfo, intent: Intent): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onSetRating(p0: MediaSession, p1: MediaSession.ControllerInfo, p2: Rating): ListenableFuture<SessionResult>
open fun onSetRating(p0: MediaSession, p1: MediaSession.ControllerInfo, p2: String, p3: Rating): ListenableFuture<SessionResult>