DefaultScreenRecorderService
Foreground service that manages screen recorder 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 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.
Constructors
Properties
Functions
Calls when service needs to create the streamer. You can customize the streamer by overriding this method.
Called when streamer is closed
Called when the service is created
Called when an error happens
Called when the streamer is opened