Last active
June 20, 2023 03:04
-
-
Save prime31/10747997 to your computer and use it in GitHub Desktop.
This is a list of all the available methods for the prime[31] Unity Activity sharing system.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void onCreate( Bundle savedInstanceState ) | |
public static void onActivityResult( int request, int response, Intent data ) | |
public static void onRequestPermissionsResult( int requestCode, String[] permissions, int[] grantResults ) | |
public static void onNewIntent( Intent intent ) | |
public static void onStart() | |
public static void onStop() | |
public static void onDestroy() | |
public static void onRestart() | |
public static void onPause() | |
public static void onResume() | |
public static void onBackPressed() | |
public static void onSaveInstanceState( Bundle savedInstanceState ) | |
public static void onRestoreInstanceState( Bundle savedInstanceState ) | |
public static void onConfigurationChanged( Configuration newConfig ) | |
public static void onWindowFocusChanged( boolean hasFocus ) | |
public static void onKeyDown( int keyCode, KeyEvent event ) | |
public static void onKeyUp( int keyCode, KeyEvent event ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I would like to implement onActivityResult but I am unable to make the method static. There will be an error, this static method cannot hide the instance method from UnityPlayerActivity. May I ask if there is a solution?