Take a screenshot using MediaProjection

后端 未结 5 1215
谎友^
谎友^ 2020-11-29 21:13

With the MediaProjection APIs available in Android L it\'s possible to

capture the contents of the main screen (the default display) int

5条回答
  •  一整个雨季
    2020-11-29 22:01

    ImageReader is the class you want.

    https://developer.android.com/reference/android/media/ImageReader.html

提交回复
热议问题