Pebble App Framework: Phone API
    Preparing search index...

    Variable default

    default: {
        ARTWORK_PROPERTY: string;
        MUSIC_PROPERTIES: string[];
        MUSIC_TEXTS: PluginSourceTexts;
        NO_PLUGIN_TRACK: MusicTrack;
        NO_TRACK: MusicTrack;
        trackFromUpdate: (
            envelope: SourceEnvelope | null | undefined,
            artSize?: ImageSize,
        ) => MusicTrack;
    }

    Type Declaration

    • ARTWORK_PROPERTY: string

      The property that carries the album art, as an image.

    • MUSIC_PROPERTIES: string[]

      The properties the music subscription asks for. Artwork is asked for only by a face that wants art.

    • MUSIC_TEXTS: PluginSourceTexts

      The now playing page hook's notes. No store plugin serves music yet, so the no plugin note names none.

    • NO_PLUGIN_TRACK: MusicTrack

      The track the watch clears its panel to while no plugin on the phone serves now playing.

    • NO_TRACK: MusicTrack

      The track the watch clears its panel to, with nothing playing.

    • trackFromUpdate: (envelope: SourceEnvelope | null | undefined, artSize?: ImageSize) => MusicTrack