launch
Starts and binds the service with the appropriate parameters.
Return
the service connection. Use it to Context.unbindService when you don't need the service anymore.
Parameters
the application context.
the service class to launch. It is a children of DefaultScreenRecorderService.
the user defined Bundle. It will be passed to the service. You can retrieve it in createStreamer method.
the callback that returns a children of DefaultScreenRecorderService instance when the service has been connected.
the callback that will be called when the service is disconnected.
enable audio recording.
Starts and binds the service with the appropriate parameters.
Parameters
the application context.
the service class to launch. It is a children of DefaultScreenRecorderService.
the service connection.
the user defined Bundle. It will be passed to the service. You can retrieve it in createStreamer method.
enable audio recording.