A non-sdk API and examples of it being called along with other metadata See https://developer.android.com/distribute/best-practices/develop/restrictions-non-sdk-interfaces
JSON representation |
---|
{ "apiSignature": string, "invocationCount": integer, "list": enum ( |
Fields | |
---|---|
apiSignature |
The signature of the Non-SDK API |
invocationCount |
The total number of times this API was observed to have been called. |
list |
Which list this API appears on |
exampleStackTraces[] |
Example stack traces of this API being called. |
insights[] |
Optional debugging insights for non-SDK API violations. |
NonSdkApiInsight
Non-SDK API insights (to address debugging solutions).
JSON representation |
---|
{ "matcherId": string, "exampleTraceMessages": [ string ], // Union field |
Fields | |
---|---|
matcherId |
A unique ID, to be used for determining the effectiveness of this particular insight in the context of a matcher. (required) |
exampleTraceMessages[] |
Optional sample stack traces, for which this insight applies (there should be at least one). |
Union field
|
|
upgradeInsight |
An insight indicating that the hidden API usage originates from the use of a library that needs to be upgraded. |
pendingGoogleUpdateInsight |
An insight indicating that the hidden API usage originates from a Google-provided library. |
UpgradeInsight
This insight is a recommendation to upgrade a given library to the specified version, in order to avoid dependencies on non-SDK APIs.
JSON representation |
---|
{ "packageName": string, "upgradeToVersion": string } |
Fields | |
---|---|
packageName |
The name of the package to be upgraded. |
upgradeToVersion |
The suggested version to upgrade to. Optional: In case we are not sure which version solves this problem |
PendingGoogleUpdateInsight
This insight indicates that the hidden API usage originates from a Google-provided library. Users need not take any action.
JSON representation |
---|
{ "nameOfGoogleLibrary": string } |
Fields | |
---|---|
nameOfGoogleLibrary |
The name of the Google-provided library with the non-SDK API dependency. |