AutomaticZenRule.Builder.SetTriggerDescription(String) Method
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.
Sets a user visible description of when this rule will be active (see Condition.STATE_TRUE).
[Android.Runtime.Register("setTriggerDescription", "(Ljava/lang/String;)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)]
public Android.App.AutomaticZenRule.Builder SetTriggerDescription(string? description);
[<Android.Runtime.Register("setTriggerDescription", "(Ljava/lang/String;)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)>]
member this.SetTriggerDescription : string -> Android.App.AutomaticZenRule.Builder
Parameters
- description
- String
String: This value may be null.
Returns
This Android.App.AutomaticZenRule.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Sets a user visible description of when this rule will be active (see Condition.STATE_TRUE). A description should be a (localized) string like "Mon-Fri, 9pm-7am" or "When connected to [Car Name]".
Android reference for android.app.AutomaticZenRule.Builder.setTriggerDescription.
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.