Android.Content.PM.LauncherApps.StartMainActivity Method
Starts a Main activity in the specified profile.

Syntax

[Android.Runtime.Register("startMainActivity", "(Landroid/content/ComponentName;Landroid/os/UserHandle;Landroid/graphics/Rect;Landroid/os/Bundle;)V", "GetStartMainActivity_Landroid_content_ComponentName_Landroid_os_UserHandle_Landroid_graphics_Rect_Landroid_os_Bundle_Handler")]
public virtual void StartMainActivity (Android.Content.ComponentName component, Android.OS.UserHandle user, Android.Graphics.Rect sourceBounds, Android.OS.Bundle opts)

Parameters

component
The ComponentName of the activity to launch
user
The UserHandle of the profile
sourceBounds
The Rect containing the source bounds of the clicked icon
opts
Options to pass to startActivity

Remarks

Starts a Main activity in the specified profile.

[Android Documentation]

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0