Stay organized with collections
Save and categorize content based on your preferences.
android.companion
Interfaces
Classes
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 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 2025-02-10 UTC."],[],[],null,["# android.companion\n=================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/companion/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|------------------------------------------------------------------|--------------------------------------------|\n| [DeviceFilter](/reference/kotlin/android/companion/DeviceFilter) | A filter for companion devices of type `D` |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| [AssociatedDevice](/reference/kotlin/android/companion/AssociatedDevice) | Container for device info from an association that is not self-managed. |\n| [AssociationInfo](/reference/kotlin/android/companion/AssociationInfo) | Details for a specific \"association\" that has been established between an app and companion device. |\n| [AssociationRequest](/reference/kotlin/android/companion/AssociationRequest) | A request for the user to select a companion device to associate with. |\n| [BluetoothDeviceFilter](/reference/kotlin/android/companion/BluetoothDeviceFilter) | A filter for Bluetooth(non-LE) devices |\n| [BluetoothLeDeviceFilter](/reference/kotlin/android/companion/BluetoothLeDeviceFilter) | A filter for Bluetooth LE devices |\n| [CompanionDeviceManager](/reference/kotlin/android/companion/CompanionDeviceManager) | Public interfaces for managing companion devices. |\n| [CompanionDeviceService](/reference/kotlin/android/companion/CompanionDeviceService) | A service that receives calls from the system with device events. |\n| [DeviceId](/reference/kotlin/android/companion/DeviceId) | A device id represents a device identifier managed by the companion app. |\n| [DevicePresenceEvent](/reference/kotlin/android/companion/DevicePresenceEvent) | Event for observing device presence. |\n| [ObservingDevicePresenceRequest](/reference/kotlin/android/companion/ObservingDevicePresenceRequest) | A request for setting the types of device for observing device presence. |\n| [WifiDeviceFilter](/reference/kotlin/android/companion/WifiDeviceFilter) | A filter for Wifi devices |\n\nExceptions\n----------\n\n|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|\n| [CompanionException](/reference/kotlin/android/companion/CompanionException) | `CompanionException` can be thrown during the companion system data transfer process. |\n| [DeviceNotAssociatedException](/reference/kotlin/android/companion/DeviceNotAssociatedException) | An exception for a case when a given device was not android. |"]]