Language

CallScreeningService.CallResponse.Builder.SetCallComposerAttachmentsToShow Method

Definition

Sets the call composer attachments that should be shown to the user.

[Android.Runtime.Register("setCallComposerAttachmentsToShow", "(I)Landroid/telecom/CallScreeningService$CallResponse$Builder;", "GetSetCallComposerAttachmentsToShow_IHandler", ApiSince=31)]
public virtual Android.Telecom.CallScreeningService.CallResponse.Builder SetCallComposerAttachmentsToShow(int callComposerAttachmentsToShow);
[<Android.Runtime.Register("setCallComposerAttachmentsToShow", "(I)Landroid/telecom/CallScreeningService$CallResponse$Builder;", "GetSetCallComposerAttachmentsToShow_IHandler", ApiSince=31)>]
abstract member SetCallComposerAttachmentsToShow : int -> Android.Telecom.CallScreeningService.CallResponse.Builder
override this.SetCallComposerAttachmentsToShow : int -> Android.Telecom.CallScreeningService.CallResponse.Builder

Parameters

callComposerAttachmentsToShow
Int32

A bitmask of call composer attachments to show. Value is either 0 or a combination of the following: CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_PICTURE; CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_LOCATION; CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_SUBJECT; CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_PRIORITY

Returns

Attributes

Remarks

Sets the call composer attachments that should be shown to the user. Attachments that are not shown will not be passed to the in-call UI responsible for displaying the call to the user. If this method is not called on a Builder, all attachments will be shown, except pictures, which will only be shown to users if the call is from a contact. Setting attachments to show will have no effect if the call screening service does not belong to the same package as the system dialer (as returned by TelecomManager.getSystemDialerPackage()).

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

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