Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IPublisherBuilder

interface IPublisherBuilder
Extends com.amazon.apmf.IStandard Module : /com.amazon.kepler.ucc.v1_0.publisher@IPublisherBuilder

Methods

verbosityChangeListener()

void verbosityChangeListener(IVerbosityChangeListener* listener)
Set a verbosity change listener This listener will be notified when the UCC verbosity level changes.

Parameters

listener
IVerbosityChangeListener* — Required the IVerbosityChangeListener to register.

transactionErrorListener()

void transactionErrorListener(ITransactionErrorListener* listener)
Set a listener to be notified of transaction errors.

Parameters

listener
ITransactionErrorListener* — Required the ITransactionErrorListener to register.

toolkitName()

void toolkitName(string name)
Specify the name of the UI toolkit being used.

Parameters

name
string — Required the name of the UI toolkit

toolkitVersion()

void toolkitVersion(string version)
Specify the version of the UI toolkit being used.

Parameters

version
string — Required the version of the UI toolkit

applicationName()

void applicationName(string name)
Provide the name of the application to the UCC publisher.

Parameters

name
string — Required the name of the application.

keplerAppId()

void keplerAppId(u64 id)
Provide the Kepler App ID to the UCC service This is used to compute z-order in conjunction with data provided by the display server. Application should not generally set this property.

Parameters

id
u64 — Required the Kepler app id

parentElementId()

void parentElementId(com.amazon.kepler.ucc.v1_0.common.ElementId id)
Set the ID of the parent UCC element which contains this publisher’s element tree.

Parameters

id
com.amazon.kepler.ucc.v1_0.common.ElementId — Required the parent UCC element ID.

build()

IPublisher* build()
Create a UCC publisher.

Returns

IPublisher* the newly created publisher.
Last modified on October 29, 2026