DataEventBuffer
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eDataEventBuffer\u003c/code\u003e is a data structure that holds a collection of \u003ccode\u003eDataEvent\u003c/code\u003e objects, providing access to wearable device events.\u003c/p\u003e\n"],["\u003cp\u003eIt implements the \u003ccode\u003eResult\u003c/code\u003e interface, allowing you to check the status of operations using \u003ccode\u003egetStatus()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve individual \u003ccode\u003eDataEvent\u003c/code\u003e objects using the \u003ccode\u003eget()\u003c/code\u003e method, specifying the desired index.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetCount()\u003c/code\u003e method returns the total number of \u003ccode\u003eDataEvent\u003c/code\u003e objects stored in the buffer.\u003c/p\u003e\n"],["\u003cp\u003eThis class extends \u003ccode\u003eAbstractDataBuffer\u003c/code\u003e and implements several interfaces, offering functionalities like iteration and resource management.\u003c/p\u003e\n"]]],[],null,[]]