ShortcutInfo.Builder.SetExtras(PersistableBundle) 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.
Extras that the app can set for any purpose.
[Android.Runtime.Register("setExtras", "(Landroid/os/PersistableBundle;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetExtras_Landroid_os_PersistableBundle_Handler", ApiSince=25)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetExtras(Android.OS.PersistableBundle extras);
[<Android.Runtime.Register("setExtras", "(Landroid/os/PersistableBundle;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetExtras_Landroid_os_PersistableBundle_Handler", ApiSince=25)>]
abstract member SetExtras : Android.OS.PersistableBundle -> Android.Content.PM.ShortcutInfo.Builder
override this.SetExtras : Android.OS.PersistableBundle -> Android.Content.PM.ShortcutInfo.Builder
Parameters
- extras
- PersistableBundle
Returns
- Attributes
Remarks
Extras that the app can set for any purpose. Apps can store arbitrary shortcut metadata in extras and retrieve the metadata later using ShortcutInfo.getExtras().
Android reference for android.content.pm.ShortcutInfo.Builder.setExtras.
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.