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

    Function eventInstance

    • One event as a calendar/event instance.

      The notes go out as a longText description, cleaned as the built-in cleans them, and are left out when there are none.

      Parameters

      • event: CalendarEvent

        The event, with an all-day one on the phone's midnights as the framework's readers give it.

      • instanceId: string

        The id the instance goes out under, which should stay the same for the same event from run to run.

      • offsetAt: PhoneOffset = phoneOffsetMinutes

        Reads the phone's offset, normally the phone's own. A spec stands the phone in another zone with it.

      • labels: EventLabelOptions = {}

        How the start and end are labelled. Left out, they read HH:MM as the built-in's do.

      Returns SourceInstance

      The instance.