public static abstract @interface TransferPreferences.BatteryUsage implements Annotation
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."],[[["`TransferPreferences.BatteryUsage` is an annotation interface defining battery usage preferences for data transfers."],["It inherits methods from `java.lang.annotation.Annotation` such as `annotationType()`, `equals()`, `hashCode()`, and `toString()`."],["These inherited methods provide functionality for reflection and comparison of the annotation."]]],["`TransferPreferences.BatteryUsage` is an abstract annotation interface implementing `Annotation`. It defines preferences for battery usage. Inherited methods from the `java.lang.annotation.Annotation` interface include: `annotationType()`, returning the Class of the annotation; `equals(Object arg0)`, comparing to another object; `hashCode()`, providing the hash code; and `toString()`, representing the object as a String. These methods are all abstract and must be implemented by concrete annotations using `TransferPreferences.BatteryUsage`.\n"]]