Condition Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Condition(Parcel) |
An object representing the current state of a |
Condition(Uri, String, ConditionState) |
An object representing the current state of a |
Condition(Uri, String, String, String, Int32, ConditionState, ConditionFlags) |
An object representing the current state of a |
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
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.
- state
- ConditionState
- Attributes
Remarks
An object representing the current state of a android.app.AutomaticZenRule
.
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
- state
- ConditionState
- flags
- ConditionFlags
- 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.