Udostępnij za pośrednictwem


Condition Constructors

Definition

Overloads

Condition(Parcel)

An object representing the current state of a android.app.AutomaticZenRule.

Condition(Uri, String, ConditionState)

An object representing the current state of a android.app.AutomaticZenRule.

Condition(Uri, String, String, String, Int32, ConditionState, ConditionFlags)

An object representing the current state of a android.app.AutomaticZenRule.

Condition(Parcel)

An object representing the current state of a android.app.AutomaticZenRule.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "", ApiSince=24)]
public Condition (Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "", ApiSince=24)>]
new Android.Service.Notification.Condition : Android.OS.Parcel -> Android.Service.Notification.Condition

Parameters

source
Parcel
Attributes

Remarks

Java documentation for android.service.notification.Condition.Condition(android.net.Uri, java.lang.String, int).

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

Condition(Uri, String, ConditionState)

An object representing the current state of a android.app.AutomaticZenRule.

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;I)V", "", ApiSince=24)]
public Condition (Android.Net.Uri? id, string? summary, Android.Service.Notification.ConditionState state);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;I)V", "", ApiSince=24)>]
new Android.Service.Notification.Condition : Android.Net.Uri * string * Android.Service.Notification.ConditionState -> Android.Service.Notification.Condition

Parameters

id
Uri

the android.app.AutomaticZenRule#getConditionId() of the zen rule

summary
String

a user visible description of the rule state.

Attributes

Remarks

An object representing the current state of a android.app.AutomaticZenRule.

Java documentation for android.service.notification.Condition.Condition(android.net.Uri, java.lang.String, int).

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

Condition(Uri, String, String, String, Int32, ConditionState, ConditionFlags)

An object representing the current state of a android.app.AutomaticZenRule.

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;III)V", "", ApiSince=24)]
public Condition (Android.Net.Uri? id, string? summary, string? line1, string? line2, int icon, Android.Service.Notification.ConditionState state, Android.Service.Notification.ConditionFlags flags);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;III)V", "", ApiSince=24)>]
new Android.Service.Notification.Condition : Android.Net.Uri * string * string * string * int * Android.Service.Notification.ConditionState * Android.Service.Notification.ConditionFlags -> Android.Service.Notification.Condition

Parameters

id
Uri

the android.app.AutomaticZenRule#getConditionId() of the zen rule

summary
String

a user visible description of the rule state.

line1
String
line2
String
icon
Int32
Attributes

Remarks

Java documentation for android.service.notification.Condition.Condition(android.net.Uri, java.lang.String, int).

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