Interface IPublisherBuilder
interface IPublisherBuilder
Extends com.amazon.apmf.IStandard
Module : /com.amazon.kepler.ucc.v1_0.publisher@IPublisherBuilder
Methods
verbosityChangeListener()
Set a verbosity change listener This listener will be notified when the UCC verbosity level changes.voidverbosityChangeListener(IVerbosityChangeListener*listener)
Parameters
listener
IVerbosityChangeListener* — Required
the IVerbosityChangeListener to register.
transactionErrorListener()
Set a listener to be notified of transaction errors.voidtransactionErrorListener(ITransactionErrorListener*listener)
Parameters
listener
ITransactionErrorListener* — Required
the ITransactionErrorListener to register.
toolkitName()
Specify the name of the UI toolkit being used.voidtoolkitName(stringname)
Parameters
name
string — Required
the name of the UI toolkit
toolkitVersion()
Specify the version of the UI toolkit being used.voidtoolkitVersion(stringversion)
Parameters
version
string — Required
the version of the UI toolkit
applicationName()
Provide the name of the application to the UCC publisher.voidapplicationName(stringname)
Parameters
name
string — Required
the name of the application.
keplerAppId()
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.voidkeplerAppId(u64id)
Parameters
id
u64 — Required
the Kepler app id
parentElementId()
Set the ID of the parent UCC element which contains this publisher’s element tree.voidparentElementId(com.amazon.kepler.ucc.v1_0.common.ElementIdid)
Parameters
id
com.amazon.kepler.ucc.v1_0.common.ElementId — Required
the parent UCC element ID.
build()
Create a UCC publisher.IPublisher*build()
Returns
IPublisher*
the newly created publisher.

