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()
Add launch command status to builder (required).ILauncherResponseBuilder*contentLauncherStatus(ContentLauncherStatusTypecontentLauncherStatus)
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()
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.ILauncherResponseBuilder*optionalData(u8[]data)
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()
Constructs anILauncherResponse*build()
ILauncherResponse object using the information provided to the ILauncherResponseBuilder.
Returns
ILauncherResponse*
representing a pointer to ILauncherResponse if built successfully.
Throws
InvalidArgumentError— if any required field is missing.

