Android.Content.Intent.AddCategory Method
Add a new category to the intent.

Syntax

[Android.Runtime.Register("addCategory", "(Ljava/lang/String;)Landroid/content/Intent;", "GetAddCategory_Ljava_lang_String_Handler")]
public virtual Intent AddCategory (string category)

See Also

Intent.HasCategory(string)
Intent.RemoveCategory(string)

Parameters

category
The desired category. This can be either one of the predefined Intent categories, or a custom category in your own namespace.

Returns

Documentation for this section has not yet been entered.

Remarks

Add a new category to the intent. Categories provide additional detail about the action the intent performs. When resolving an intent, only activities that provide all of the requested categories will be used.

[Android Documentation]

Requirements

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