Skip to main content

setAttributes()

Note: This API is supported from version 8.1.0-beta01.

The setAttributes() API globally applies the specified metadata to all calls for changing the name, call display picture and more.

Parameters:

  • attributes (@Nullable SalesIQConversationAttributes): Optional attributes to customize metadata such as the name, additional information, or display picture for calls.

Syntax

Copiedvoid setAttributes(@NonNull SalesIQConversationAttributes attributes)

Example

CopiedZohoSalesIQCalls.setAttributes(
      new SalesIQConversationAttributes.Builder()
                .setName("Zylker")
                .setAdditionalInfo("SalesIQ")
                .setDisplayPicture("https://css.zohocdn.com/salesiq/RESOURCE_BUNDLES/embedcw/ASSETS_V6/images/salesiqlogo_leal7QplfZFryJ6FIlVepeu7OftD7mt8q6exU6-34PB8prfIgodN67KcxXM9Y7JQ_.png")
                .build()
);
CopiedZohoSalesIQCalls.setAttributes(
      SalesIQConversationAttributes.Builder()
            .setName("Zylker")
            .setAdditionalInfo("SalesIQ")
            .setDisplayPicture("https://css.zohocdn.com/salesiq/RESOURCE_BUNDLES/embedcw/ASSETS_V6/images/salesiqlogo_leal7QplfZFryJ6FIlVepeu7OftD7mt8q6exU6-34PB8prfIgodN67KcxXM9Y7JQ_.png")
            .build()
)