Android.App.Activity.StartActivityIfNeeded Method
Same as calling Activity.StartActivityIfNeeded(Android.Content.Intent, System.Int32, System.Int32) with no options.

Syntax

[Android.Runtime.Register("startActivityIfNeeded", "(Landroid/content/Intent;I)Z", "GetStartActivityIfNeeded_Landroid_content_Intent_IHandler")]
public virtual bool StartActivityIfNeeded (Android.Content.Intent intent, int requestCode)

See Also

Activity.StartActivityForResult(Android.Content.Intent, System.Int32)

Parameters

intent
The intent to start.
requestCode
If >= 0, this code will be returned in onActivityResult() when the activity exits, as described in Activity.StartActivityForResult(Android.Content.Intent, System.Int32).

Returns

Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1