To create a WallpaperColors object, do either of the following:. To retrieve the primary, secondary, or tertiary color details from the wallpaper, call the following methods:. To notify the system about any significant color changes in your live wallpaper, call the notifyColorsChanged method. This method triggers an onComputeColors lifecycle event where you have an opportunity to provide a new WallpaperColors object.
To add a listener for color changes, you can call the addOnColorsChangedListener method. You can also call the getWallpaperColors method to retrieve the primary colors of a wallpaper. The FingerprintManager class has introduced the following error codes:. Content and code samples on this page are subject to the licenses described in the Content License.
All Android releases Android 9. Features and APIs. Behavior changes. Android Developers. Android Oreo Go edition Android Go is our initiative to optimize the Android experience for billions of people coming online around the world. Features in the Android Oreo Go edition configuration include: Memory optimizations.
Reduce network battery drain. Transfer data using Sync Adapters. Bluetooth Low Energy. Wi-Fi infrastructure. Discover and connect. Runtime API reference. Web-based content. Android App Bundles. Google Play. Play Asset Delivery. Play Feature Delivery. In-app reviews.
In-app updates. Google Play Instant. Get started with instant apps. Get started with instant games. Integrate with Firebase. Play Install Referrer. Play Install Referrer Library. Application Licensing. Android GPU Inspector. System profiling. Analyze a system profile.
GPU performance counters. Frame profiling. Analyze a frame profile. Frame Profiler UI. Customize or port game engines. Process input events. Support game controllers. Achieve proper frame pacing. Frame pacing in Vulkan. Integrate Android Performance Tuner. Output audio. Manage memory. Use prebuilt or turnkey game engines. Develop with Defold. Develop with Godot. Develop with Unity. Use Android Performance Tuner. Game best practices. Maximize device availability.
Art assets. OpenGL and Vulkan. Game Mode. Best practices. Building effective unit tests. Watch the event Excellent apps, across devices. Check out the event View tech talks. Check out the latest details on features like Material You and our redesigned app widgets!
Android Oreo gives you many new ways to extend your app and develop more efficiently. Notification dots. Notification channels. Autofill framework. Autosizing TextView. Downloadable fonts. Adaptive icons. Shortcut pinning.
0コメント