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 ILauncherResponseBuilder

interface ILauncherResponseBuilder
Extends com.amazon.apmf.IStandard A builder object to build ILaunchResponse encapsulating the response of a content launch request.

Methods

contentLauncherStatus()

ILauncherResponseBuilder* contentLauncherStatus(ContentLauncherStatusType contentLauncherStatus)
Add launch command status to builder (required).

Parameters

contentLauncherStatus
ContentLauncherStatusType — Required Launch command status to add.

Returns

ILauncherResponseBuilder* representing a pointer to the the same object that was used to set the ContentLauncherStatusType.

optionalData()

ILauncherResponseBuilder* optionalData(u8[] data)
Add data specific to client-app contract to the builder (optional). Data is limited to 64k. If data size is greater than 64k, build() method would throw an InvalidArgumentError.

Parameters

data
u8[] — Required Optional data (specific to client-app contract) to add.

Returns

ILauncherResponseBuilder* representing a pointer to the same object that was used to set the optional data.

build()

ILauncherResponse* build()
Constructs an ILauncherResponse object using the information provided to the ILauncherResponseBuilder.

Returns

ILauncherResponse* representing a pointer to ILauncherResponse if built successfully.

Throws


Last modified on October 29, 2026