CallScreeningService.CallResponse.Builder.SetDisallowCall(Boolean) 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 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
Returns
- 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.