public static abstract @interface TransferPreferences.BatteryUsage implements Annotation
TransferPreferences.BatteryUsage
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.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eTransferPreferences.BatteryUsage\u003c/code\u003e is an annotation interface defining battery usage preferences for data transfers.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits methods from \u003ccode\u003ejava.lang.annotation.Annotation\u003c/code\u003e such as \u003ccode\u003eannotationType()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese inherited methods provide functionality for reflection and comparison of the annotation.\u003c/p\u003e\n"]]],["`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"],null,["# TransferPreferences.BatteryUsage\n\npublic static abstract @interface **TransferPreferences.BatteryUsage** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nBattery usage preference values. \n\n### Inherited Method Summary\n\nFrom interface java.lang.annotation.Annotation \n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| abstract [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c? extends [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html)\\\u003e | annotationType() |\n| abstract boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| abstract int | hashCode() |\n| abstract [String](//developer.android.com/reference/java/lang/String.html) | toString() |"]]