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

    Interface PinLayout

    What a pin, a reminder, or a notification shows. Which fields a layout reads, and which it needs, are listed for each layout in the pin guide.

    interface PinLayout {
        backgroundColor?: string;
        body?: string;
        displayTime?: "none" | "pin";
        headings?: string[];
        largeIcon?: string;
        lastUpdated?: string;
        locationName?: string;
        nameAway?: string;
        nameHome?: string;
        paragraphs?: string[];
        primaryColor?: string;
        rankAway?: string;
        rankHome?: string;
        recordAway?: string;
        recordHome?: string;
        scoreAway?: string;
        scoreHome?: string;
        secondaryColor?: string;
        shortSubtitle?: string;
        shortTitle?: string;
        smallIcon?: string;
        sportsGameState?: "in-game" | "pre-game";
        subtitle?: string;
        tinyIcon?: string;
        title?: string;
        type: PinLayoutType;
    }
    Index
    backgroundColor?: string
    body?: string

    Up to 512 characters.

    displayTime?: "none" | "pin"

    Whether weatherPin shows the pin's time, pin, or none.

    headings?: string[]

    Section headings, under 128 characters in all. Pins only, as many as paragraphs.

    largeIcon?: string
    lastUpdated?: string

    When the pin's data was last updated, as an ISO date and time.

    locationName?: string

    Where the event is, read by calendarPin and weatherPin.

    nameAway?: string

    Up to 4 characters.

    nameHome?: string

    Up to 4 characters.

    paragraphs?: string[]

    Section text, under 1024 characters in all. Pins only, as many as headings.

    primaryColor?: string

    A six digit hex colour or an SDK colour name, such as mintgreen. Pins only.

    rankAway?: string
    rankHome?: string
    recordAway?: string
    recordHome?: string
    scoreAway?: string
    scoreHome?: string
    secondaryColor?: string
    shortSubtitle?: string

    The subtitle in the timeline's list, where a layout reads it.

    shortTitle?: string

    The title in the timeline's list, where a layout reads it.

    smallIcon?: string
    sportsGameState?: "in-game" | "pre-game"
    subtitle?: string
    tinyIcon?: string

    A system icon, such as system://images/TIMELINE_CALENDAR.

    title?: string