Stay organized with collections
Save and categorize content based on your preferences.
GnssAntennaInfo.Listener
public
static
interface
GnssAntennaInfo.Listener
android.location.GnssAntennaInfo.Listener
|
Used for receiving GNSS antenna info from the GNSS engine.
Summary
Public methods
onGnssAntennaInfoReceived
public abstract void onGnssAntennaInfoReceived (List<GnssAntennaInfo> gnssAntennaInfos)
Invoked on a change to GNSS antenna info.
Parameters |
gnssAntennaInfos |
List : This value cannot be null . |
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,["# GnssAntennaInfo.Listener\n\nAdded in [API level 30](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nGnssAntennaInfo.Listener\n========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/location/GnssAntennaInfo.Listener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nGnssAntennaInfo.Listener\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------|\n| android.location.GnssAntennaInfo.Listener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nUsed for receiving GNSS antenna info from the GNSS engine.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onGnssAntennaInfoReceived](/reference/android/location/GnssAntennaInfo.Listener#onGnssAntennaInfoReceived(java.util.List\u003candroid.location.GnssAntennaInfo\u003e))`(`[List](/reference/java/util/List)`\u003c`[GnssAntennaInfo](/reference/android/location/GnssAntennaInfo)`\u003e gnssAntennaInfos) ` Invoked on a change to GNSS antenna info. |\n\nPublic methods\n--------------\n\n### onGnssAntennaInfoReceived\n\nAdded in [API level 30](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onGnssAntennaInfoReceived (List\u003cGnssAntennaInfo\u003e gnssAntennaInfos)\n```\n\nInvoked on a change to GNSS antenna info.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------------|---------------------------------------------|\n| `gnssAntennaInfos` | `List`: This value cannot be `null`. \u003cbr /\u003e |"]]