lightbulb_outline Please take our October 2018 developer survey. Start survey

CallScreeningService.CallResponse.Builder

public static class CallScreeningService.CallResponse.Builder
extends Object

java.lang.Object
   ↳ android.telecom.CallScreeningService.CallResponse.Builder


Summary

Public constructors

CallScreeningService.CallResponse.Builder()

Public methods

CallScreeningService.CallResponse build()
CallScreeningService.CallResponse.Builder setDisallowCall(boolean shouldDisallowCall)
CallScreeningService.CallResponse.Builder setRejectCall(boolean shouldRejectCall)
CallScreeningService.CallResponse.Builder setSkipCallLog(boolean shouldSkipCallLog)
CallScreeningService.CallResponse.Builder setSkipNotification(boolean shouldSkipNotification)

Inherited methods

Public constructors

CallScreeningService.CallResponse.Builder

added in API level 24
public CallScreeningService.CallResponse.Builder ()

Public methods

setDisallowCall

added in API level 24
public CallScreeningService.CallResponse.Builder setDisallowCall (boolean shouldDisallowCall)

Parameters
shouldDisallowCall boolean

Returns
CallScreeningService.CallResponse.Builder

setRejectCall

added in API level 24
public CallScreeningService.CallResponse.Builder setRejectCall (boolean shouldRejectCall)

Parameters
shouldRejectCall boolean

Returns
CallScreeningService.CallResponse.Builder

setSkipCallLog

added in API level 24
public CallScreeningService.CallResponse.Builder setSkipCallLog (boolean shouldSkipCallLog)

Parameters
shouldSkipCallLog boolean

Returns
CallScreeningService.CallResponse.Builder

setSkipNotification

added in API level 24
public CallScreeningService.CallResponse.Builder setSkipNotification (boolean shouldSkipNotification)

Parameters
shouldSkipNotification boolean

Returns
CallScreeningService.CallResponse.Builder