AppCompatScreenCaptureInitializer
class AppCompatScreenCaptureInitializer(activity: ComponentActivity) : IScreenCaptureInitializer
Content copied to clipboard
Screen capture initializer for use in IRemoteSupportClient.addScreenSharing. This class must be initialized in ComponentActivity.onCreate, then can be used to create an instance of VideoStreamConfiguration that can be passed to IRemoteSupportClient.addScreenSharing.
Due to Android platform limitations, this class can only be used with an instance of IRemoteSupportClient hosted in an Android foreground service. You can create your own foreground service or use the RemoteSupportService provided in this package.