Language

Condition.StateToString(ConditionState) Method

Definition

Converts a valid condition state to its native constant name.

[Android.Runtime.Register("stateToString", "(I)Ljava/lang/String;", "", ApiSince=24)]
public static string? StateToString(Android.Service.Notification.ConditionState state);
[<Android.Runtime.Register("stateToString", "(I)Ljava/lang/String;", "", ApiSince=24)>]
static member StateToString : Android.Service.Notification.ConditionState -> string

Parameters

state
ConditionState

The condition state to format.

Returns

STATE_FALSE, STATE_TRUE, STATE_UNKNOWN, or STATE_ERROR for the supplied state.

Attributes

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