SafetyNetApi.VerifyAppsUserResponse
Stay organized with collections
Save and categorize content based on your preferences.
A Response
to
get user decisions for the Verify Apps API.
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public SafetyNetApi.VerifyAppsUserResponse ()
Public Methods
public boolean isVerifyAppsEnabled ()
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eSafetyNetApi.VerifyAppsUserResponse\u003c/code\u003e provides user decisions for the Verify Apps API.\u003c/p\u003e\n"],["\u003cp\u003eIt indicates whether the user has enabled Verify Apps through the \u003ccode\u003eisVerifyAppsEnabled()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis response is obtained using methods like \u003ccode\u003eenableVerifyApps()\u003c/code\u003e or \u003ccode\u003eisVerifyAppsEnabled()\u003c/code\u003e in \u003ccode\u003eSafetyNetClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can access the detailed result using the inherited \u003ccode\u003egetResult()\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# SafetyNetApi.VerifyAppsUserResponse\n\npublic static class **SafetyNetApi.VerifyAppsUserResponse** extends [Response](/android/reference/com/google/android/gms/common/api/Response)\\\u003c[SafetyNetApi.VerifyAppsUserResult](/android/reference/com/google/android/gms/safetynet/SafetyNetApi.VerifyAppsUserResult)\\\u003e \nA [Response](/android/reference/com/google/android/gms/common/api/Response) to\nget user decisions for the Verify Apps API. \n\n### Public Constructor Summary\n\n|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [SafetyNetApi.VerifyAppsUserResponse](/android/reference/com/google/android/gms/safetynet/SafetyNetApi.VerifyAppsUserResponse#SafetyNetApi.VerifyAppsUserResponse())() |\n\n### Public Method Summary\n\n|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [isVerifyAppsEnabled](/android/reference/com/google/android/gms/safetynet/SafetyNetApi.VerifyAppsUserResponse#isVerifyAppsEnabled())() Returns whether the user has enabled Verify Apps when prompted. |\n\n### Inherited Method Summary\n\nFrom class [com.google.android.gms.common.api.Response](/android/reference/com/google/android/gms/common/api/Response) \n\n|----------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SafetyNetApi.VerifyAppsUserResult](/android/reference/com/google/android/gms/safetynet/SafetyNetApi.VerifyAppsUserResult) | [getResult](/android/reference/com/google/android/gms/common/api/Response#getResult())() |\n| void | [setResult](/android/reference/com/google/android/gms/common/api/Response#setResult(T))([SafetyNetApi.VerifyAppsUserResult](/android/reference/com/google/android/gms/safetynet/SafetyNetApi.VerifyAppsUserResult) result) |\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public **SafetyNetApi.VerifyAppsUserResponse** ()\n\nPublic Methods\n--------------\n\n#### public boolean **isVerifyAppsEnabled** ()\n\nReturns whether the user has enabled Verify Apps when prompted.\n\nThis method is only meaningful when used with [enableVerifyApps()](/android/reference/com/google/android/gms/safetynet/SafetyNetClient#enableVerifyApps()) or [isVerifyAppsEnabled()](/android/reference/com/google/android/gms/safetynet/SafetyNetClient#isVerifyAppsEnabled())."]]