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

Interfaces

  • IPayloadDelegate — IPayloadDelegate can be implemented to provide a data payload for an event.
  • IContextDelegate — An IViewManager object can optionally implement this IContextDelegate interface to update its React Context. This callback is called exactly once on creating a ViewManager object.
  • IContext — Global React Context that provides event emitter, js array builder, js object builder.
  • IEventEmitter — Emit events to the React Native JavaScript layer.
  • IJsArray — Immutable JavaScript Array. Each element of the array can be of any valid JavaScript dynamic type.
  • IJsArrayBuilder — JavaScript Array Builder.
  • IJsObject — Immutable JavaScript Object with string keys. Each value of a key-value pair can be of any valid JavaScript dynamic type.
  • IJsObjectBuilder — JavaScript Object Builder.
  • IPropsRegistry — Object of this interface, contains all the props, to be registered for a keplerscript view manager.
  • IPropsRegistryBuilder — Builder for adding different types of props for a keplerscript view manager.
  • IPropsDelegate — Delegate for registering props and handling prop value changes.
  • ILayoutDelegate — Delegate to update layout.
  • IFrame — IFrame gives the location of the origin and the dimensions of a rectangle.
  • ILayout — Represents the component view’s layout
  • ICommandDispatchDelegate — Delegate to dispatch commands on a component view instance.
  • IViewManager — Manager for the view component/widget. There is only one Manager instance for all the instances of that particular view component/widget. This manager object can optionally implement any combination of the following interfaces: 1. IContextDelegate 2. IPropsDelegate 3. ILayoutDelegate 4. ICommandDispatchDelegate
  • IViewManagerFactory — Factory that makes KeplerScript view managers. A custom KeplerScript UI library is expected to implement this factory interface, as its root component. The library component name is mapped to KeplerScript from a configuration js file.
  • IMountDelegate — An IViewManager object can optionally implement this IMountDelegate interface to perform mount/unmount instructions on a component view instance. In case this is not implemented then by default addChildAtIndex/removeChildAtIndex apis of VegaUIFramework will be called respectively on the component view instance.
  • ITypefaceRegistry — This interface provides a centralized registry for typefaces, allowing typefaces to be registered and unregistered by a unique identifier.
  • IReactModule — Module interface for KeplerScript that provides access to objects and utilities. This interface serves as the main entry point for accessing core managers like UIManager (for view operations) and CookieManager (for cookie operations). It acts as a factory for obtaining manager instances.
  • IReactModule2 — Module interface for KeplerScript that extends IReactModule with typeface registration.
  • ICookie — This interface represents an HTTP cookie with its associated properties. It is extensible and follows the HTTP Cookie specification. Refer RFC 6265.
  • ICookieManager — This interface manages the cookie store for a KeplerScript application. It provides methods to add, retrieve, and clear cookies.
  • IUIManager — This interface provides methods to access views by their tag identifier.

Structs

  • JsType — JavaScript dynamic types.
  • DisplayType — Display types of the view component’s layout. FLEX and INLINE are consistent with the css usage of these terms.

Enumerations

Exceptions

Last modified on October 29, 2026