AutomaticZenRule.Builder


public static final class AutomaticZenRule.Builder
extends Object

java.lang.Object
   ↳ android.app.AutomaticZenRule.Builder


Summary

Public constructors

Builder(AutomaticZenRule rule)
Builder(String name, Uri conditionId)

Public methods

AutomaticZenRule build()
AutomaticZenRule.Builder setConditionId(Uri conditionId)

Sets the representation of the state that causes this rule to become active.

AutomaticZenRule.Builder setConfigurationActivity(ComponentName configurationActivity)

Sets the configuration activity - an activity that handles NotificationManager.ACTION_AUTOMATIC_ZEN_RULE and shows more information about this rule and/or allows the user to configure it.

AutomaticZenRule.Builder