@capawesome/capacitor-alarm 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapawesomeCapacitorAlarm.podspec +17 -0
- package/LICENSE +21 -0
- package/Package.swift +28 -0
- package/README.md +449 -0
- package/android/build.gradle +58 -0
- package/android/src/main/AndroidManifest.xml +9 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/Alarm.java +85 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/AlarmPlugin.java +154 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/classes/CustomException.java +20 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/classes/CustomExceptions.java +16 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/classes/options/CreateAlarmOptions.java +124 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/classes/options/CreateTimerOptions.java +48 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/classes/results/CreateAlarmResult.java +25 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/classes/results/IsAvailableResult.java +22 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/interfaces/Callback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/interfaces/EmptyCallback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/interfaces/NonEmptyResultCallback.java +7 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/alarm/interfaces/Result.java +7 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +743 -0
- package/dist/esm/definitions.d.ts +349 -0
- package/dist/esm/definitions.js +55 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +12 -0
- package/dist/esm/web.js +28 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +97 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +100 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/Alarm.swift +148 -0
- package/ios/Plugin/AlarmPlugin.swift +147 -0
- package/ios/Plugin/Classes/Options/CancelAlarmOptions.swift +20 -0
- package/ios/Plugin/Classes/Options/CreateAlarmOptions.swift +70 -0
- package/ios/Plugin/Classes/Results/CreateAlarmResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetAlarmsResult.swift +49 -0
- package/ios/Plugin/Classes/Results/IsAvailableResult.swift +16 -0
- package/ios/Plugin/Classes/Results/PermissionStatusResult.swift +16 -0
- package/ios/Plugin/Enums/CustomError.swift +47 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Protocols/Result.swift +6 -0
- package/package.json +95 -0
package/dist/docs.json
ADDED
|
@@ -0,0 +1,743 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "AlarmPlugin",
|
|
4
|
+
"slug": "alarmplugin",
|
|
5
|
+
"docs": "",
|
|
6
|
+
"tags": [],
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"name": "cancelAlarm",
|
|
10
|
+
"signature": "(options: CancelAlarmOptions) => Promise<void>",
|
|
11
|
+
"parameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "options",
|
|
14
|
+
"docs": "",
|
|
15
|
+
"type": "CancelAlarmOptions"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"returns": "Promise<void>",
|
|
19
|
+
"tags": [
|
|
20
|
+
{
|
|
21
|
+
"name": "since",
|
|
22
|
+
"text": "0.1.0"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"docs": "Cancel an alarm that was created by the app.\n\nOnly available on iOS.",
|
|
26
|
+
"complexTypes": [
|
|
27
|
+
"CancelAlarmOptions"
|
|
28
|
+
],
|
|
29
|
+
"slug": "cancelalarm"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "checkPermissions",
|
|
33
|
+
"signature": "() => Promise<PermissionStatus>",
|
|
34
|
+
"parameters": [],
|
|
35
|
+
"returns": "Promise<PermissionStatus>",
|
|
36
|
+
"tags": [
|
|
37
|
+
{
|
|
38
|
+
"name": "since",
|
|
39
|
+
"text": "0.1.0"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"docs": "Check permission to schedule alarms.\n\nOn Android, this method always returns `granted` since\nalarms are created via the system clock app.\n\nOnly available on Android and iOS.",
|
|
43
|
+
"complexTypes": [
|
|
44
|
+
"PermissionStatus"
|
|
45
|
+
],
|
|
46
|
+
"slug": "checkpermissions"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "createAlarm",
|
|
50
|
+
"signature": "(options: CreateAlarmOptions) => Promise<CreateAlarmResult>",
|
|
51
|
+
"parameters": [
|
|
52
|
+
{
|
|
53
|
+
"name": "options",
|
|
54
|
+
"docs": "",
|
|
55
|
+
"type": "CreateAlarmOptions"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"returns": "Promise<CreateAlarmResult>",
|
|
59
|
+
"tags": [
|
|
60
|
+
{
|
|
61
|
+
"name": "since",
|
|
62
|
+
"text": "0.1.0"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"docs": "Create a new alarm.\n\nOn Android, the alarm is created in the system clock app.\nThe app has no access to the created alarm afterwards.\n\nOn iOS, the alarm is owned by the app and can be listed\nand canceled using the `getAlarms(...)` and `cancelAlarm(...)`\nmethods.\n\nOnly available on Android and iOS.",
|
|
66
|
+
"complexTypes": [
|
|
67
|
+
"CreateAlarmResult",
|
|
68
|
+
"CreateAlarmOptions"
|
|
69
|
+
],
|
|
70
|
+
"slug": "createalarm"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "createTimer",
|
|
74
|
+
"signature": "(options: CreateTimerOptions) => Promise<void>",
|
|
75
|
+
"parameters": [
|
|
76
|
+
{
|
|
77
|
+
"name": "options",
|
|
78
|
+
"docs": "",
|
|
79
|
+
"type": "CreateTimerOptions"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"returns": "Promise<void>",
|
|
83
|
+
"tags": [
|
|
84
|
+
{
|
|
85
|
+
"name": "since",
|
|
86
|
+
"text": "0.1.0"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"docs": "Create a new countdown timer in the system clock app.\n\nOnly available on Android.",
|
|
90
|
+
"complexTypes": [
|
|
91
|
+
"CreateTimerOptions"
|
|
92
|
+
],
|
|
93
|
+
"slug": "createtimer"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "getAlarms",
|
|
97
|
+
"signature": "() => Promise<GetAlarmsResult>",
|
|
98
|
+
"parameters": [],
|
|
99
|
+
"returns": "Promise<GetAlarmsResult>",
|
|
100
|
+
"tags": [
|
|
101
|
+
{
|
|
102
|
+
"name": "since",
|
|
103
|
+
"text": "0.1.0"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"docs": "Get all alarms that were created by the app.\n\nOnly available on iOS.",
|
|
107
|
+
"complexTypes": [
|
|
108
|
+
"GetAlarmsResult"
|
|
109
|
+
],
|
|
110
|
+
"slug": "getalarms"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "isAvailable",
|
|
114
|
+
"signature": "() => Promise<IsAvailableResult>",
|
|
115
|
+
"parameters": [],
|
|
116
|
+
"returns": "Promise<IsAvailableResult>",
|
|
117
|
+
"tags": [
|
|
118
|
+
{
|
|
119
|
+
"name": "since",
|
|
120
|
+
"text": "0.1.0"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"docs": "Check if alarms are available on this device.\n\nOn Android, this checks whether an app that can handle\nalarms is installed. On iOS, this returns `true` if the\ndevice runs iOS 26 or later.\n\nOnly available on Android and iOS.",
|
|
124
|
+
"complexTypes": [
|
|
125
|
+
"IsAvailableResult"
|
|
126
|
+
],
|
|
127
|
+
"slug": "isavailable"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "openAlarms",
|
|
131
|
+
"signature": "() => Promise<void>",
|
|
132
|
+
"parameters": [],
|
|
133
|
+
"returns": "Promise<void>",
|
|
134
|
+
"tags": [
|
|
135
|
+
{
|
|
136
|
+
"name": "since",
|
|
137
|
+
"text": "0.1.0"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"docs": "Open the list of alarms in the system clock app.\n\nOnly available on Android.",
|
|
141
|
+
"complexTypes": [],
|
|
142
|
+
"slug": "openalarms"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "requestPermissions",
|
|
146
|
+
"signature": "() => Promise<PermissionStatus>",
|
|
147
|
+
"parameters": [],
|
|
148
|
+
"returns": "Promise<PermissionStatus>",
|
|
149
|
+
"tags": [
|
|
150
|
+
{
|
|
151
|
+
"name": "since",
|
|
152
|
+
"text": "0.1.0"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"docs": "Request permission to schedule alarms.\n\nOn Android, this method always returns `granted` since\nalarms are created via the system clock app.\n\nOnly available on Android and iOS.",
|
|
156
|
+
"complexTypes": [
|
|
157
|
+
"PermissionStatus"
|
|
158
|
+
],
|
|
159
|
+
"slug": "requestpermissions"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"properties": []
|
|
163
|
+
},
|
|
164
|
+
"interfaces": [
|
|
165
|
+
{
|
|
166
|
+
"name": "CancelAlarmOptions",
|
|
167
|
+
"slug": "cancelalarmoptions",
|
|
168
|
+
"docs": "",
|
|
169
|
+
"tags": [
|
|
170
|
+
{
|
|
171
|
+
"text": "0.1.0",
|
|
172
|
+
"name": "since"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"methods": [],
|
|
176
|
+
"properties": [
|
|
177
|
+
{
|
|
178
|
+
"name": "id",
|
|
179
|
+
"tags": [
|
|
180
|
+
{
|
|
181
|
+
"text": "0.1.0",
|
|
182
|
+
"name": "since"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"text": "'2B1A3C4D-5E6F-7A8B-9C0D-1E2F3A4B5C6D'",
|
|
186
|
+
"name": "example"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"docs": "The unique identifier of the alarm to cancel.",
|
|
190
|
+
"complexTypes": [],
|
|
191
|
+
"type": "string"
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "PermissionStatus",
|
|
197
|
+
"slug": "permissionstatus",
|
|
198
|
+
"docs": "",
|
|
199
|
+
"tags": [
|
|
200
|
+
{
|
|
201
|
+
"text": "0.1.0",
|
|
202
|
+
"name": "since"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"methods": [],
|
|
206
|
+
"properties": [
|
|
207
|
+
{
|
|
208
|
+
"name": "alarms",
|
|
209
|
+
"tags": [
|
|
210
|
+
{
|
|
211
|
+
"text": "0.1.0",
|
|
212
|
+
"name": "since"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"docs": "Permission state of scheduling alarms.",
|
|
216
|
+
"complexTypes": [
|
|
217
|
+
"PermissionState"
|
|
218
|
+
],
|
|
219
|
+
"type": "PermissionState"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "CreateAlarmResult",
|
|
225
|
+
"slug": "createalarmresult",
|
|
226
|
+
"docs": "",
|
|
227
|
+
"tags": [
|
|
228
|
+
{
|
|
229
|
+
"text": "0.1.0",
|
|
230
|
+
"name": "since"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"methods": [],
|
|
234
|
+
"properties": [
|
|
235
|
+
{
|
|
236
|
+
"name": "id",
|
|
237
|
+
"tags": [
|
|
238
|
+
{
|
|
239
|
+
"text": "0.1.0",
|
|
240
|
+
"name": "since"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"text": "'2B1A3C4D-5E6F-7A8B-9C0D-1E2F3A4B5C6D'",
|
|
244
|
+
"name": "example"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"docs": "The unique identifier of the created alarm.\n\nOn Android, this is always `null` since the alarm is\ncreated in the system clock app.",
|
|
248
|
+
"complexTypes": [],
|
|
249
|
+
"type": "string | null"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "CreateAlarmOptions",
|
|
255
|
+
"slug": "createalarmoptions",
|
|
256
|
+
"docs": "",
|
|
257
|
+
"tags": [
|
|
258
|
+
{
|
|
259
|
+
"text": "0.1.0",
|
|
260
|
+
"name": "since"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"methods": [],
|
|
264
|
+
"properties": [
|
|
265
|
+
{
|
|
266
|
+
"name": "android",
|
|
267
|
+
"tags": [
|
|
268
|
+
{
|
|
269
|
+
"text": "0.1.0",
|
|
270
|
+
"name": "since"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"docs": "Android-specific options.\n\nOnly available on Android.",
|
|
274
|
+
"complexTypes": [
|
|
275
|
+
"CreateAlarmAndroidOptions"
|
|
276
|
+
],
|
|
277
|
+
"type": "CreateAlarmAndroidOptions"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "days",
|
|
281
|
+
"tags": [
|
|
282
|
+
{
|
|
283
|
+
"text": "0.1.0",
|
|
284
|
+
"name": "since"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"text": "[Weekday.Monday, Weekday.Friday]",
|
|
288
|
+
"name": "example"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"docs": "The days of the week on which the alarm repeats.\n\nIf not provided, the alarm fires once at the next\noccurrence of the given time.",
|
|
292
|
+
"complexTypes": [
|
|
293
|
+
"Weekday"
|
|
294
|
+
],
|
|
295
|
+
"type": "Weekday[] | undefined"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "hour",
|
|
299
|
+
"tags": [
|
|
300
|
+
{
|
|
301
|
+
"text": "0.1.0",
|
|
302
|
+
"name": "since"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"text": "6",
|
|
306
|
+
"name": "example"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"docs": "The hour of the alarm (0-23).",
|
|
310
|
+
"complexTypes": [],
|
|
311
|
+
"type": "number"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "label",
|
|
315
|
+
"tags": [
|
|
316
|
+
{
|
|
317
|
+
"text": "0.1.0",
|
|
318
|
+
"name": "since"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"text": "'Wake up'",
|
|
322
|
+
"name": "example"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"docs": "The label of the alarm.",
|
|
326
|
+
"complexTypes": [],
|
|
327
|
+
"type": "string | undefined"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "minute",
|
|
331
|
+
"tags": [
|
|
332
|
+
{
|
|
333
|
+
"text": "0.1.0",
|
|
334
|
+
"name": "since"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"text": "30",
|
|
338
|
+
"name": "example"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"docs": "The minute of the alarm (0-59).",
|
|
342
|
+
"complexTypes": [],
|
|
343
|
+
"type": "number"
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "CreateAlarmAndroidOptions",
|
|
349
|
+
"slug": "createalarmandroidoptions",
|
|
350
|
+
"docs": "",
|
|
351
|
+
"tags": [
|
|
352
|
+
{
|
|
353
|
+
"text": "0.1.0",
|
|
354
|
+
"name": "since"
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"methods": [],
|
|
358
|
+
"properties": [
|
|
359
|
+
{
|
|
360
|
+
"name": "skipUi",
|
|
361
|
+
"tags": [
|
|
362
|
+
{
|
|
363
|
+
"text": "0.1.0",
|
|
364
|
+
"name": "since"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"text": "false",
|
|
368
|
+
"name": "default"
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
"docs": "Whether or not to create the alarm without showing\nthe user interface of the system clock app.\n\nOnly available on Android.",
|
|
372
|
+
"complexTypes": [],
|
|
373
|
+
"type": "boolean | undefined"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "vibrate",
|
|
377
|
+
"tags": [
|
|
378
|
+
{
|
|
379
|
+
"text": "0.1.0",
|
|
380
|
+
"name": "since"
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"docs": "Whether or not the alarm should vibrate.\n\nIf not provided, the default behavior of the system\nclock app is used.\n\nOnly available on Android.",
|
|
384
|
+
"complexTypes": [],
|
|
385
|
+
"type": "boolean | undefined"
|
|
386
|
+
}
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": "CreateTimerOptions",
|
|
391
|
+
"slug": "createtimeroptions",
|
|
392
|
+
"docs": "",
|
|
393
|
+
"tags": [
|
|
394
|
+
{
|
|
395
|
+
"text": "0.1.0",
|
|
396
|
+
"name": "since"
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
"methods": [],
|
|
400
|
+
"properties": [
|
|
401
|
+
{
|
|
402
|
+
"name": "android",
|
|
403
|
+
"tags": [
|
|
404
|
+
{
|
|
405
|
+
"text": "0.1.0",
|
|
406
|
+
"name": "since"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"docs": "Android-specific options.\n\nOnly available on Android.",
|
|
410
|
+
"complexTypes": [
|
|
411
|
+
"CreateTimerAndroidOptions"
|
|
412
|
+
],
|
|
413
|
+
"type": "CreateTimerAndroidOptions"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "duration",
|
|
417
|
+
"tags": [
|
|
418
|
+
{
|
|
419
|
+
"text": "0.1.0",
|
|
420
|
+
"name": "since"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"text": "300",
|
|
424
|
+
"name": "example"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"docs": "The length of the timer in seconds (1-86400).",
|
|
428
|
+
"complexTypes": [],
|
|
429
|
+
"type": "number"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "label",
|
|
433
|
+
"tags": [
|
|
434
|
+
{
|
|
435
|
+
"text": "0.1.0",
|
|
436
|
+
"name": "since"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"text": "'Tea'",
|
|
440
|
+
"name": "example"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"docs": "The label of the timer.",
|
|
444
|
+
"complexTypes": [],
|
|
445
|
+
"type": "string | undefined"
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "CreateTimerAndroidOptions",
|
|
451
|
+
"slug": "createtimerandroidoptions",
|
|
452
|
+
"docs": "",
|
|
453
|
+
"tags": [
|
|
454
|
+
{
|
|
455
|
+
"text": "0.1.0",
|
|
456
|
+
"name": "since"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"methods": [],
|
|
460
|
+
"properties": [
|
|
461
|
+
{
|
|
462
|
+
"name": "skipUi",
|
|
463
|
+
"tags": [
|
|
464
|
+
{
|
|
465
|
+
"text": "0.1.0",
|
|
466
|
+
"name": "since"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"text": "false",
|
|
470
|
+
"name": "default"
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"docs": "Whether or not to create the timer without showing\nthe user interface of the system clock app.\n\nOnly available on Android.",
|
|
474
|
+
"complexTypes": [],
|
|
475
|
+
"type": "boolean | undefined"
|
|
476
|
+
}
|
|
477
|
+
]
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "GetAlarmsResult",
|
|
481
|
+
"slug": "getalarmsresult",
|
|
482
|
+
"docs": "",
|
|
483
|
+
"tags": [
|
|
484
|
+
{
|
|
485
|
+
"text": "0.1.0",
|
|
486
|
+
"name": "since"
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"methods": [],
|
|
490
|
+
"properties": [
|
|
491
|
+
{
|
|
492
|
+
"name": "alarms",
|
|
493
|
+
"tags": [
|
|
494
|
+
{
|
|
495
|
+
"text": "0.1.0",
|
|
496
|
+
"name": "since"
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"docs": "The alarms that were created by the app.",
|
|
500
|
+
"complexTypes": [
|
|
501
|
+
"AlarmInfo"
|
|
502
|
+
],
|
|
503
|
+
"type": "AlarmInfo[]"
|
|
504
|
+
}
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "AlarmInfo",
|
|
509
|
+
"slug": "alarminfo",
|
|
510
|
+
"docs": "",
|
|
511
|
+
"tags": [
|
|
512
|
+
{
|
|
513
|
+
"text": "0.1.0",
|
|
514
|
+
"name": "since"
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"methods": [],
|
|
518
|
+
"properties": [
|
|
519
|
+
{
|
|
520
|
+
"name": "enabled",
|
|
521
|
+
"tags": [
|
|
522
|
+
{
|
|
523
|
+
"text": "0.1.0",
|
|
524
|
+
"name": "since"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"text": "true",
|
|
528
|
+
"name": "example"
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"docs": "Whether or not the alarm is active.",
|
|
532
|
+
"complexTypes": [],
|
|
533
|
+
"type": "boolean | null"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "hour",
|
|
537
|
+
"tags": [
|
|
538
|
+
{
|
|
539
|
+
"text": "0.1.0",
|
|
540
|
+
"name": "since"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"text": "6",
|
|
544
|
+
"name": "example"
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"docs": "The hour of the alarm (0-23).",
|
|
548
|
+
"complexTypes": [],
|
|
549
|
+
"type": "number | null"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "id",
|
|
553
|
+
"tags": [
|
|
554
|
+
{
|
|
555
|
+
"text": "0.1.0",
|
|
556
|
+
"name": "since"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"text": "'2B1A3C4D-5E6F-7A8B-9C0D-1E2F3A4B5C6D'",
|
|
560
|
+
"name": "example"
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"docs": "The unique identifier of the alarm.",
|
|
564
|
+
"complexTypes": [],
|
|
565
|
+
"type": "string"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "label",
|
|
569
|
+
"tags": [
|
|
570
|
+
{
|
|
571
|
+
"text": "0.1.0",
|
|
572
|
+
"name": "since"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"text": "'Wake up'",
|
|
576
|
+
"name": "example"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"docs": "The label of the alarm.",
|
|
580
|
+
"complexTypes": [],
|
|
581
|
+
"type": "string | null"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "minute",
|
|
585
|
+
"tags": [
|
|
586
|
+
{
|
|
587
|
+
"text": "0.1.0",
|
|
588
|
+
"name": "since"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"text": "30",
|
|
592
|
+
"name": "example"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"docs": "The minute of the alarm (0-59).",
|
|
596
|
+
"complexTypes": [],
|
|
597
|
+
"type": "number | null"
|
|
598
|
+
}
|
|
599
|
+
]
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "IsAvailableResult",
|
|
603
|
+
"slug": "isavailableresult",
|
|
604
|
+
"docs": "",
|
|
605
|
+
"tags": [
|
|
606
|
+
{
|
|
607
|
+
"text": "0.1.0",
|
|
608
|
+
"name": "since"
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"methods": [],
|
|
612
|
+
"properties": [
|
|
613
|
+
{
|
|
614
|
+
"name": "available",
|
|
615
|
+
"tags": [
|
|
616
|
+
{
|
|
617
|
+
"text": "0.1.0",
|
|
618
|
+
"name": "since"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"text": "true",
|
|
622
|
+
"name": "example"
|
|
623
|
+
}
|
|
624
|
+
],
|
|
625
|
+
"docs": "Whether or not alarms are available on this device.",
|
|
626
|
+
"complexTypes": [],
|
|
627
|
+
"type": "boolean"
|
|
628
|
+
}
|
|
629
|
+
]
|
|
630
|
+
}
|
|
631
|
+
],
|
|
632
|
+
"enums": [
|
|
633
|
+
{
|
|
634
|
+
"name": "Weekday",
|
|
635
|
+
"slug": "weekday",
|
|
636
|
+
"members": [
|
|
637
|
+
{
|
|
638
|
+
"name": "Friday",
|
|
639
|
+
"value": "'FRIDAY'",
|
|
640
|
+
"tags": [
|
|
641
|
+
{
|
|
642
|
+
"text": "0.1.0",
|
|
643
|
+
"name": "since"
|
|
644
|
+
}
|
|
645
|
+
],
|
|
646
|
+
"docs": ""
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "Monday",
|
|
650
|
+
"value": "'MONDAY'",
|
|
651
|
+
"tags": [
|
|
652
|
+
{
|
|
653
|
+
"text": "0.1.0",
|
|
654
|
+
"name": "since"
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"docs": ""
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "Saturday",
|
|
661
|
+
"value": "'SATURDAY'",
|
|
662
|
+
"tags": [
|
|
663
|
+
{
|
|
664
|
+
"text": "0.1.0",
|
|
665
|
+
"name": "since"
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"docs": ""
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"name": "Sunday",
|
|
672
|
+
"value": "'SUNDAY'",
|
|
673
|
+
"tags": [
|
|
674
|
+
{
|
|
675
|
+
"text": "0.1.0",
|
|
676
|
+
"name": "since"
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
"docs": ""
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "Thursday",
|
|
683
|
+
"value": "'THURSDAY'",
|
|
684
|
+
"tags": [
|
|
685
|
+
{
|
|
686
|
+
"text": "0.1.0",
|
|
687
|
+
"name": "since"
|
|
688
|
+
}
|
|
689
|
+
],
|
|
690
|
+
"docs": ""
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "Tuesday",
|
|
694
|
+
"value": "'TUESDAY'",
|
|
695
|
+
"tags": [
|
|
696
|
+
{
|
|
697
|
+
"text": "0.1.0",
|
|
698
|
+
"name": "since"
|
|
699
|
+
}
|
|
700
|
+
],
|
|
701
|
+
"docs": ""
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "Wednesday",
|
|
705
|
+
"value": "'WEDNESDAY'",
|
|
706
|
+
"tags": [
|
|
707
|
+
{
|
|
708
|
+
"text": "0.1.0",
|
|
709
|
+
"name": "since"
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
"docs": ""
|
|
713
|
+
}
|
|
714
|
+
]
|
|
715
|
+
}
|
|
716
|
+
],
|
|
717
|
+
"typeAliases": [
|
|
718
|
+
{
|
|
719
|
+
"name": "PermissionState",
|
|
720
|
+
"slug": "permissionstate",
|
|
721
|
+
"docs": "",
|
|
722
|
+
"types": [
|
|
723
|
+
{
|
|
724
|
+
"text": "'prompt'",
|
|
725
|
+
"complexTypes": []
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"text": "'prompt-with-rationale'",
|
|
729
|
+
"complexTypes": []
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"text": "'granted'",
|
|
733
|
+
"complexTypes": []
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"text": "'denied'",
|
|
737
|
+
"complexTypes": []
|
|
738
|
+
}
|
|
739
|
+
]
|
|
740
|
+
}
|
|
741
|
+
],
|
|
742
|
+
"pluginConfigs": []
|
|
743
|
+
}
|