Intent.HasCategory(String) Intent.HasCategory(String) Method

Definition

Check if a category exists in the intent.

[Android.Runtime.Register("hasCategory", "(Ljava/lang/String;)Z", "GetHasCategory_Ljava_lang_String_Handler")]
public virtual bool HasCategory (string category);
abstract member HasCategory : string -> bool
override this.HasCategory : string -> bool

Parameters

category
String String

The category to check.

Returns

Remarks

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.

Applies to

See also