本文整理汇总了TypeScript中ui/frame.activityCallbacks类的典型用法代码示例。如果您正苦于以下问题:TypeScript activityCallbacks类的具体用法?TypeScript activityCallbacks怎么用?TypeScript activityCallbacks使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了activityCallbacks类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: onCreate
protected onCreate(savedInstanceState: android.os.Bundle): void {
callbacks.onCreate(this, savedInstanceState, super.onCreate);
}
示例2: onRequestPermissionsResult
public onRequestPermissionsResult (requestCode: number, permissions: Array<String>, grantResults: Array<number>): void {
callbacks.onRequestPermissionsResult(this, requestCode, permissions, grantResults, undefined /*TODO: Enable if needed*/);
}
示例3: onActivityResult
protected onActivityResult(requestCode: number, resultCode: number, data: android.content.Intent): void {
callbacks.onActivityResult(this, requestCode, resultCode, data, super.onActivityResult);
}
示例4: onBackPressed
public onBackPressed(): void {
callbacks.onBackPressed(this, super.onBackPressed);
}
示例5: onDestroy
protected onDestroy(): void {
callbacks.onDestroy(this, super.onDestroy);
}
示例6: onStop
protected onStop(): void {
callbacks.onStop(this, super.onStop);
}
示例7: onStart
protected onStart(): void {
callbacks.onStart(this, super.onStart);
}
示例8: onSaveInstanceState
protected onSaveInstanceState(outState: android.os.Bundle): void {
callbacks.onSaveInstanceState(this, outState, super.onSaveInstanceState);
}