pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • Examples
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

Pebble C API

  • Pebble C API
  • Pebble JavaScript API
  • PebbleKit JS
  • PebbleKit iOS
  • PebbleKit Android
  • Foundation
    • App
    • App Communication
    • App Glance
    • AppMessage
    • AppSync
    • AppWorker
    • DataLogging
    • DataStructures
      • UUID
    • Dictation
    • Dictionary
    • Event Service
      • AccelerometerService
      • AppFocusService
      • BatteryStateService
      • CompassService
      • ConnectionService
      • HealthService
      • TickTimerService
    • Exit Reason
    • Internationalization
    • Launch Reason
    • Logging
    • Math
    • Memory Management
    • Platform
    • Resources
      • File Formats
    • Storage
    • Timer
    • Wakeup
    • Wall Time
    • WatchInfo
    • Rocky
  • Graphics
    • Draw Commands
    • Drawing Paths
    • Drawing Primitives
    • Drawing Text
    • Fonts
    • Graphics Context
    • Graphics Types
      • Color Definitions
  • User Interface
    • Animation
      • PropertyAnimation
    • Clicks
    • Layers
      • ActionBarLayer
      • BitmapLayer
      • MenuLayer
      • RotBitmapLayer
      • ScrollLayer
      • SimpleMenuLayer
      • StatusBarLayer
      • TextLayer
    • Light
    • Preferences
    • UnobstructedArea
    • Vibes
    • Window
      • ActionMenu
      • NumberWindow
    • Window Stack
  • Standard C
    • Format
    • Locale
    • Math
    • Memory
    • String
    • Time

Platform

Enum Documentation

enum PlatformType

Enumerators

PlatformTypeAplite
PlatformTypeBasalt
PlatformTypeChalk
PlatformTypeDiorite
PlatformTypeEmery

Macro Definition Documentation

  • SDK 3
  • SDK 4
#define PBL_PLATFORM_TYPE_CURRENT PlatformTypeAplite
#define PBL_PLATFORM_TYPE_CURRENT PlatformTypeBasalt
  • SDK 3
  • SDK 4
#define PBL_PLATFORM_SWITCH_DEFAULT ( PLAT, DEFAULT, APLITE, BASALT, CHALK, DIORITE, EMERY)
#define PBL_PLATFORM_SWITCH_DEFAULT ( PLAT, DEFAULT, APLITE, BASALT, CHALK, DIORITE, EMERY)
  • SDK 3
  • SDK 4
#define PBL_PLATFORM_SWITCH ( PLAT, APLITE, BASALT, CHALK, DIORITE, EMERY)
#define PBL_PLATFORM_SWITCH ( PLAT, APLITE, BASALT, CHALK, DIORITE, EMERY)

Need some help?

Enums

  • PlatformType

Macro Defintions

  • PBL_PLATFORM_TYPE_CURRENT
  • PBL_PLATFORM_SWITCH_DEFAULT
  • PBL_PLATFORM_SWITCH

Getting Help

Do you have questions about the Pebble SDK?

Do you need some help understanding something on this page?

You can either take advantage of our awesome developer community and check out the SDK Help forums, or you can send us a message through the website!