Pebble App Framework
v4.6.0
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Phone API
Preparing search index...
pkjs/wire
default
Variable default
default
:
{
packCalendarStrip
:
(
events
:
CalendarEvent
[]
|
null
)
=>
number
[]
|
null
;
packForecastDaily
:
(
daily
:
DailyStrip
|
null
|
undefined
,
)
=>
number
[]
|
null
;
packForecastHourly
:
(
hourly
:
HourlyStrip
|
null
|
undefined
,
)
=>
number
[]
|
null
;
packStockStrip
:
(
results
:
|
Pick
<
StockQuote
,
"symbol"
|
"status"
|
"ok"
|
"price"
|
"changePercent"
,
>
[]
|
null
,
)
=>
number
[]
|
null
;
STOCK_MAX_SLOTS
:
4
;
STOCK_SLOTS_MAX
:
4
;
toAscii
:
(
text
:
string
,
max
?:
number
)
=>
string
;
}
Type Declaration
packCalendarStrip
:
(
events
:
CalendarEvent
[]
|
null
)
=>
number
[]
|
null
packForecastDaily
:
(
daily
:
DailyStrip
|
null
|
undefined
)
=>
number
[]
|
null
packForecastHourly
:
(
hourly
:
HourlyStrip
|
null
|
undefined
)
=>
number
[]
|
null
packStockStrip
:
(
results
:
|
Pick
<
StockQuote
,
"symbol"
|
"status"
|
"ok"
|
"price"
|
"changePercent"
,
>
[]
|
null
,
)
=>
number
[]
|
null
STOCK_MAX_SLOTS
:
4
Deprecated
The old name for STOCK_SLOTS_MAX.
STOCK_SLOTS_MAX
:
4
toAscii
:
(
text
:
string
,
max
?:
number
)
=>
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Pebble App Framework: Phone API
Loading...
Deprecated
The old name for STOCK_SLOTS_MAX.