ShortcutInfo.Activity Property
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.
Return the target activity.
public Android.Content.ComponentName? Activity { [Android.Runtime.Register("getActivity", "()Landroid/content/ComponentName;", "", ApiSince=25)] get; }
[<get: Android.Runtime.Register("getActivity", "()Landroid/content/ComponentName;", "", ApiSince=25)>]
member this.Activity : Android.Content.ComponentName
Property Value
- Attributes
Remarks
Return the target activity.
This has nothing to do with the activity that this shortcut will launch. Launcher apps should show the launcher icon for the returned activity alongside this shortcut.
Java documentation for android.content.pm.ShortcutInfo.getActivity()
.
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.