mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
Adding startActivity method to CordovaInterface as many plugins rely on this method
This commit is contained in:
parent
e918ffd751
commit
10cbcd7f5a
@ -69,6 +69,13 @@ public interface CordovaInterface {
|
||||
*/
|
||||
abstract public void startActivityForResult(IPlugin command, Intent intent, int requestCode);
|
||||
|
||||
/**
|
||||
* Launch an activity for which you would not like a result when it finished.
|
||||
*
|
||||
* @param intent The intent to start
|
||||
*/
|
||||
abstract public void startActivity(Intent intent);
|
||||
|
||||
/**
|
||||
* Set the plugin to be called when a sub-activity exits.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user