PlatformSignalCollector
Stay organized with collections
Save and categorize content based on your preferences.
Adapter for providing platform-specific signals to the Programmatic Access Library.
Public Methods
Returns a task to collect platform-specific signals.
Parameters
context |
The context provided by the publisher to the PAL SDK. |
executorService |
An executor for running background tasks. |
Returns
- a task with the map of platform-specific signals.
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 2022-07-20 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 2022-07-20 UTC."],[[["`PlatformSignalCollector` is an adapter used to provide platform-specific signals to the Programmatic Access Library (PAL)."],["It features the `collectSignals` method, which returns a task containing a map of platform signals using provided context and an executor service for background operations."]]],["The `PlatformSignalCollector` interface adapts platform-specific signals for the Programmatic Access Library. Its core function, `collectSignals`, takes a `Context` and `ExecutorService` as parameters. This method returns a task that collects platform-specific signals. The `Context` is provided by the publisher, and the `ExecutorService` manages background tasks. The returned task provides a map of the collected platform signals.\n"]]