public abstract static class MediaProjection.Callback extends Object
Constructor and Description |
---|
Callback() |
Modifier and Type | Method and Description |
---|---|
void |
onStop()
Called when the MediaProjection session is no longer valid.
|
public void onStop()
Once a MediaProjection has been stopped, it's up to the application to release any
resources it may be holding (e.g. VirtualDisplay
s).