共用方式為


Call.ExtraIsSuppressedByDoNotDisturb Field

Definition

Extra key intended for InCallServices that notify the user of an incoming call.

[Android.Runtime.Register("EXTRA_IS_SUPPRESSED_BY_DO_NOT_DISTURB", ApiSince=34)]
public const string ExtraIsSuppressedByDoNotDisturb;
[<Android.Runtime.Register("EXTRA_IS_SUPPRESSED_BY_DO_NOT_DISTURB", ApiSince=34)>]
val mutable ExtraIsSuppressedByDoNotDisturb : string

Field Value

Attributes

Remarks

Extra key intended for InCallServices that notify the user of an incoming call. When EXTRA_IS_SUPPRESSED_BY_DO_NOT_DISTURB returns true, the InCallService should not interrupt the user of the incoming call because the call is being suppressed by Do Not Disturb settings.

This extra will be removed from the Call object for InCallServices that do not hold the android.Manifest.permission#READ_CONTACTS permission.

Java documentation for android.telecom.Call.EXTRA_IS_SUPPRESSED_BY_DO_NOT_DISTURB.

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