StreamerService
Foreground bound service that manages streamers.
To customise this service, you have to extend this class.
In your AndroidManifest, you have to add:
To customize notification, you can override:
R.string.service_notification_* string values
override open onNotification methods: onOpenNotification, onCloseNotification and onErrorNotification
Parameters
the streamer factory to create the streamer
the notification id a unique number
the notification channel id
A string resource identifier for the user visible name of the notification channel.
A string resource identifier for the user visible description of the notification channel.
A drawable resource identifier for the user visible icon of the notification channel.
Inheritors
Constructors
Properties
Functions
Called when streamer is closed
Called when the service is created
Called when an error happens
Calls in onBind or onStartCommand with the Intent.getExtras passed in the Intent.
Called when the streamer is opened