SDK Playground

Every call in the Mythryl SDK, one button each. Use it to test a host, or read the code to see how an app uses the SDK.

Open this inside Mythryl

The SDK talks to the app that frames this page, and there is none here. Add this app from the store, or load it in a host you are testing.

Lifecycle

sdk.ready()

Tells the host the app has loaded, which hides its loading screen.

sdk.close()

Closes this app, as the close button does.

The host

sdk.getCapabilities()

What the host can do. Check before calling anything optional.

sdk.getContext()

How the app was opened and what it is shown in. Read-only.

Events

sdk.on(event, listener)

Hide or show the app from the host's bar to see these. Newest first.

Nothing has happened yet