## uni.onUserCaptureScreen(callback?) @onusercapturescreen <!-- UTSAPIJSON.onUserCaptureScreen.description --> <!-- UTSAPIJSON.onUserCaptureScreen.param --> <!-- UTSAPIJSON.onUserCaptureScreen.returnValue --> <!-- UTSAPIJSON.onUserCaptureScreen.compatibility --> <!-- UTSAPIJSON.onUserCaptureScreen.tutorial --> ## uni.offUserCaptureScreen(callback?) @offusercapturescreen <!-- UTSAPIJSON.offUserCaptureScreen.description --> <!-- UTSAPIJSON.offUserCaptureScreen.param --> <!-- UTSAPIJSON.offUserCaptureScreen.returnValue --> <!-- UTSAPIJSON.offUserCaptureScreen.compatibility --> <!-- UTSAPIJSON.offUserCaptureScreen.tutorial --> <!-- UTSAPIJSON.general_type.name --> <!-- UTSAPIJSON.general_type.param --> ## tips - 本文的截屏指手机自带的截屏事件的监听和取消监听,由用户操作手机按键触发。如需通过代码对view截屏,另见API [takeSnapshot](../dom/element.md#takesnapshot)