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

    Function settingsChanged

    • Reports whether any setting behind a key list changed between two snapshots.

      Parameters

      • keys: string[]

        The settings the snapshots were taken of.

      • before: string[] | null

        The snapshot from before the settings page opened, or null when none was taken.

      • after: string[]

        The snapshot from after it closed.

      Returns boolean

      True when a setting changed, or when there was no before snapshot to compare.