Stay organized with collections
Save and categorize content based on your preferences.
Discovery.Companion
object Discovery.Companion
Summary
Public functions
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Discovery.Companion\n===================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/com/google/ambient/crossdevice/discovery/Discovery.Companion \"View this page in Java\")\n\n\n```\nobject Discovery.Companion\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Discovery](/reference/kotlin/com/google/ambient/crossdevice/discovery/Discovery) | [create](/reference/kotlin/com/google/ambient/crossdevice/discovery/Discovery.Companion#create(android.content.Context))`(context: `[Context](/reference/kotlin/android/content/Context)`)` Creates an instance of [Discovery](/reference/kotlin/com/google/ambient/crossdevice/discovery/Discovery). |\n\nPublic functions\n----------------\n\n### create\n\n```\nfun create(context: Context): Discovery\n```\n\nCreates an instance of [Discovery](/reference/kotlin/com/google/ambient/crossdevice/discovery/Discovery)."]]