语言

AutomaticZenRule.Builder.SetManualInvocationAllowed(Boolean) 方法

定义

设置用户是否可以手动激活此规则,即使不符合规则的触发条件。

[Android.Runtime.Register("setManualInvocationAllowed", "(Z)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)]
public Android.App.AutomaticZenRule.Builder SetManualInvocationAllowed(bool allowManualInvocation);
[<Android.Runtime.Register("setManualInvocationAllowed", "(Z)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)>]
member this.SetManualInvocationAllowed : bool -> Android.App.AutomaticZenRule.Builder

参数

allowManualInvocation
Boolean

boolean

返回

此 Android.App.AutomaticZenRule.Builder 实例允许链接调用。

特性

注解

设置用户是否可以手动激活此规则,即使不符合规则的触发条件。

Android 参考。android.app.AutomaticZenRule.Builder.setManualInvocationAllowed

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于