Most visited

Recently visited

Added in API level 21

MediaProjection.Callback

public static abstract class MediaProjection.Callback
extends Object

java.lang.Object
   ↳ android.media.projection.MediaProjection.Callback


预测会话的回调。

Summary

Public constructors

MediaProjection.Callback()

Public methods

void onStop()

MediaProjection会话不再有效时调用。

Inherited methods

From class java.lang.Object

Public constructors

MediaProjection.Callback

Added in API level 21
MediaProjection.Callback ()

Public methods

onStop

Added in API level 21
void onStop ()

MediaProjection会话不再有效时调用。

一旦MediaProjection停止,应用程序就会释放它可能持有的任何资源(例如 VirtualDisplay )。

Hooray!