次の方法で共有


TileService.StartActivityAndCollapse Method

Definition

Overloads

StartActivityAndCollapse(PendingIntent)

Starts an android.app.Activity.

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.

Java documentation for android.service.quicksettings.TileService.startActivityAndCollapse(android.app.PendingIntent).

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.

Java documentation for android.service.quicksettings.TileService.startActivityAndCollapse(android.content.Intent).

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