ShortcutInfo.Builder.SetIntents(Intent[]) 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.
Sets multiple intents instead of a single intent, in order to launch an activity with other activities in back stack.
[Android.Runtime.Register("setIntents", "([Landroid/content/Intent;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetIntents_arrayLandroid_content_Intent_Handler", ApiSince=25)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetIntents(Android.Content.Intent[] intents);
[<Android.Runtime.Register("setIntents", "([Landroid/content/Intent;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetIntents_arrayLandroid_content_Intent_Handler", ApiSince=25)>]
abstract member SetIntents : Android.Content.Intent[] -> Android.Content.PM.ShortcutInfo.Builder
override this.SetIntents : Android.Content.Intent[] -> Android.Content.PM.ShortcutInfo.Builder
Parameters
- intents
- Intent[]
Returns
- Attributes
Remarks
Sets multiple intents instead of a single intent, in order to launch an activity with other activities in back stack. Use TaskStackBuilder to build intents. The last element in the list represents the only intent that doesn't place an activity on the back stack. See the ShortcutManager javadoc for details.
Android reference for android.content.pm.ShortcutInfo.Builder.setIntents.
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.