From 6a9a6d93e4c4a4a2a4fe90b8816d354af95d7e0b Mon Sep 17 00:00:00 2001 From: WOSHIMAHAIFENG Date: Mon, 23 Sep 2024 12:35:42 +0800 Subject: [PATCH] Update utsactivitycallback.md --- docs/uts/utsactivitycallback.md | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/docs/uts/utsactivitycallback.md b/docs/uts/utsactivitycallback.md index 9d340989..a958231e 100644 --- a/docs/uts/utsactivitycallback.md +++ b/docs/uts/utsactivitycallback.md @@ -131,18 +131,6 @@ -#### onBackPressed(params) - - - - - - - - - - - #### onContextMenuClosed(params, menu) @@ -323,18 +311,6 @@ -#### onPreBackPressed(params) - - - - - - - - - - - #### onPreContextMenuClosed(params, menu) @@ -1335,15 +1311,6 @@ export class UTSActivityCallback extends UniActivityCallback { constructor() { super() } - override onBackPressed(params : UniActivityParams) { - console.log('UTSActivityCallback', 'onBackPressed', params) - callback('onBackPressed') - } - override onPreBackPressed(params : UniActivityParams) { - console.log('UTSActivityCallback', 'onPreBackPressed', params) - callback('onPreBackPressed') - } - override onRequestPermissionsResult(params : UniActivityParams, requestCode : Int, permissions : MutableList, grantResults : IntArray) { console.log('UTSActivityCallback', 'onRequestPermissionsResult', params) callback('onRequestPermissionsResult') -- GitLab