TileService.StartActivityAndCollapse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StartActivityAndCollapse(PendingIntent) |
Starts an |
StartActivityAndCollapse(Intent) |
Start an activity while collapsing the panel. |
StartActivityAndCollapse(PendingIntent)
Starts an android.app.Activity
.
[Android.Runtime.Register("startActivityAndCollapse", "(Landroid/app/PendingIntent;)V", "", ApiSince=34)]
public void StartActivityAndCollapse (Android.App.PendingIntent pendingIntent);
[<Android.Runtime.Register("startActivityAndCollapse", "(Landroid/app/PendingIntent;)V", "", ApiSince=34)>]
member this.StartActivityAndCollapse : Android.App.PendingIntent -> unit
Parameters
- pendingIntent
- PendingIntent
A PendingIntent for an Activity to be launched immediately.
- Attributes
Remarks
Starts an android.app.Activity
. Will collapse Quick Settings after launching.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
StartActivityAndCollapse(Intent)
Start an activity while collapsing the panel.
[Android.Runtime.Register("startActivityAndCollapse", "(Landroid/content/Intent;)V", "", ApiSince=24)]
public void StartActivityAndCollapse (Android.Content.Intent? intent);
[<Android.Runtime.Register("startActivityAndCollapse", "(Landroid/content/Intent;)V", "", ApiSince=24)>]
member this.StartActivityAndCollapse : Android.Content.Intent -> unit
Parameters
- intent
- Intent
- Attributes
Remarks
Start an activity while collapsing the panel.
This member is deprecated. for versions android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE
and up, use TileService#startActivityAndCollapse(PendingIntent)
instead.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.