Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inbox pop

ANSWERED

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?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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>

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

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>
Best Answer
0 Votes

Thank you!

Best Answer
0 Votes