AutomaticZenRule.Builder.SetType(Int32) 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 the type of the rule.
[Android.Runtime.Register("setType", "(I)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)]
public Android.App.AutomaticZenRule.Builder SetType(int type);
[<Android.Runtime.Register("setType", "(I)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)>]
member this.SetType : int -> Android.App.AutomaticZenRule.Builder
Parameters
- type
- Int32
int: Value is one of the following: AutomaticZenRule.TYPE_UNKNOWN AutomaticZenRule.TYPE_OTHER AutomaticZenRule.TYPE_SCHEDULE_TIME AutomaticZenRule.TYPE_SCHEDULE_CALENDAR AutomaticZenRule.TYPE_BEDTIME AutomaticZenRule.TYPE_DRIVING AutomaticZenRule.TYPE_IMMERSIVE AutomaticZenRule.TYPE_THEATER AutomaticZenRule.TYPE_MANAGED AutomaticZenRule.TYPE_TRANSIT
Returns
This Android.App.AutomaticZenRule.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Sets the type of the rule.
Android reference for android.app.AutomaticZenRule.Builder.setType.
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.