Język

CallScreeningService.CallResponse.Builder.SetDisallowCall(Boolean) Method

Definition

Sets whether the incoming call should be blocked.

[Android.Runtime.Register("setDisallowCall", "(Z)Landroid/telecom/CallScreeningService$CallResponse$Builder;", "GetSetDisallowCall_ZHandler", ApiSince=24)]
public virtual Android.Telecom.CallScreeningService.CallResponse.Builder? SetDisallowCall(bool shouldDisallowCall);
[<Android.Runtime.Register("setDisallowCall", "(Z)Landroid/telecom/CallScreeningService$CallResponse$Builder;", "GetSetDisallowCall_ZHandler", ApiSince=24)>]
abstract member SetDisallowCall : bool -> Android.Telecom.CallScreeningService.CallResponse.Builder
override this.SetDisallowCall : bool -> Android.Telecom.CallScreeningService.CallResponse.Builder

Parameters

shouldDisallowCall
Boolean

true to request blocking; false to allow the call.

Returns

This builder with its blocking option updated.

Attributes

Remarks

Sets whether the incoming call should be blocked.

Android reference for android.telecom.CallScreeningService.CallResponse.Builder.setDisallowCall.

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