01-20-2019 03:45 - edited 01-20-2019 03:45
01-20-2019 03:45 - edited 01-20-2019 03:45
There is an undocumented inbox.pop function that appears within the SDK V3 code samples in https://dev.fitbit.com/blog/2018-12-17-its-time-to-exercise-with-fitbit-os-3/ but not in any of the inbox modules (app or companion).
What are its type definitions? Where is it available?
Answered! Go to the Best Answer.
01-20-2019 04:02
01-20-2019 04:02
Thanks for letting us know. I'll try to find out why it was omitted during the documentation generation.
Inbox extends EventTarget, and pop() is:
pop(): Promise<InboxItem | null>
01-20-2019 04:02
01-20-2019 04:02
Thanks for letting us know. I'll try to find out why it was omitted during the documentation generation.
Inbox extends EventTarget, and pop() is:
pop(): Promise<InboxItem | null>
01-20-2019 04:23
01-20-2019 04:23
Thank you!