提交 6a9a6d93 编写于 作者: WOSHIMAHAIFENG's avatar WOSHIMAHAIFENG

Update utsactivitycallback.md

上级 942e9550
...@@ -131,18 +131,6 @@ ...@@ -131,18 +131,6 @@
<!-- UTSJSON.UniActivityCallback.onChildTitleChanged.tutorial --> <!-- UTSJSON.UniActivityCallback.onChildTitleChanged.tutorial -->
#### onBackPressed(params)
<!-- UTSJSON.UniActivityCallback.onBackPressed.description -->
<!-- UTSJSON.UniActivityCallback.onBackPressed.param -->
<!-- UTSJSON.UniActivityCallback.onBackPressed.returnValue -->
<!-- UTSJSON.UniActivityCallback.onBackPressed.compatibility -->
<!-- UTSJSON.UniActivityCallback.onBackPressed.tutorial -->
#### onContextMenuClosed(params, menu) #### onContextMenuClosed(params, menu)
<!-- UTSJSON.UniActivityCallback.onContextMenuClosed.description --> <!-- UTSJSON.UniActivityCallback.onContextMenuClosed.description -->
...@@ -323,18 +311,6 @@ ...@@ -323,18 +311,6 @@
<!-- UTSJSON.UniActivityCallback.onPreChildTitleChanged.tutorial --> <!-- UTSJSON.UniActivityCallback.onPreChildTitleChanged.tutorial -->
#### onPreBackPressed(params)
<!-- UTSJSON.UniActivityCallback.onPreBackPressed.description -->
<!-- UTSJSON.UniActivityCallback.onPreBackPressed.param -->
<!-- UTSJSON.UniActivityCallback.onPreBackPressed.returnValue -->
<!-- UTSJSON.UniActivityCallback.onPreBackPressed.compatibility -->
<!-- UTSJSON.UniActivityCallback.onPreBackPressed.tutorial -->
#### onPreContextMenuClosed(params, menu) #### onPreContextMenuClosed(params, menu)
<!-- UTSJSON.UniActivityCallback.onPreContextMenuClosed.description --> <!-- UTSJSON.UniActivityCallback.onPreContextMenuClosed.description -->
...@@ -1335,15 +1311,6 @@ export class UTSActivityCallback extends UniActivityCallback { ...@@ -1335,15 +1311,6 @@ export class UTSActivityCallback extends UniActivityCallback {
constructor() { constructor() {
super() 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<String>, grantResults : IntArray) { override onRequestPermissionsResult(params : UniActivityParams, requestCode : Int, permissions : MutableList<String>, grantResults : IntArray) {
console.log('UTSActivityCallback', 'onRequestPermissionsResult', params) console.log('UTSActivityCallback', 'onRequestPermissionsResult', params)
callback('onRequestPermissionsResult') callback('onRequestPermissionsResult')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册