Package com.castlabs.android.player
Interface PlayerService.NotificationHandler
-
- Enclosing class:
- PlayerService
public static interface PlayerService.NotificationHandlerImplementation of the interface can receive notification intents from thePlayerService. Shall be installed viaPlayerService.Binder.releaseToBackground(IPlayerView, int, Notification, boolean, NotificationHandler)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonIntent(Intent intent)Receive notification intent to handlevoidrelease()Release any unneeded resources
-
-
-
Method Detail
-
onIntent
boolean onIntent(@NonNull Intent intent)Receive notification intent to handle- Parameters:
intent- Notification intent- Returns:
trueifPlayerServiceneeds to shutdown which is equivalent ofPlayerService.Binder.killBackgroundPlayer(boolean)and otherwisefalse
-
release
void release()
Release any unneeded resources
-
-