CallScreeningService.CallResponse.Builder.SetRejectedAsMissed(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 rejected and marked as if it is a missed call.
[Android.Runtime.Register("setRejectedAsMissed", "(Z)Landroid/telecom/CallScreeningService$CallResponse$Builder;", "GetSetRejectedAsMissed_ZHandler", ApiSince=37)]
public virtual Android.Telecom.CallScreeningService.CallResponse.Builder SetRejectedAsMissed(bool shouldRejectedAsMissed);
[<Android.Runtime.Register("setRejectedAsMissed", "(Z)Landroid/telecom/CallScreeningService$CallResponse$Builder;", "GetSetRejectedAsMissed_ZHandler", ApiSince=37)>]
abstract member SetRejectedAsMissed : bool -> Android.Telecom.CallScreeningService.CallResponse.Builder
override this.SetRejectedAsMissed : bool -> Android.Telecom.CallScreeningService.CallResponse.Builder
Parameters
- shouldRejectedAsMissed
- Boolean
Whether a blocked, rejected call should be marked as missed.
Returns
This builder with its missed-call option updated.
- Attributes
Remarks
Sets whether the incoming call should be rejected and marked as if it is a missed call. This property should only be set to true if the call is disallowed.
Android reference for android.telecom.CallScreeningService.CallResponse.Builder.setRejectedAsMissed.
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.