StandardIntegrityManager.StandardIntegrityToken
public
static
abstract
class
StandardIntegrityManager.StandardIntegrityToken
extends Object
java.lang.Object | |
↳ | com.google.android.play.core.integrity.StandardIntegrityManager.StandardIntegrityToken |
StandardIntegrityManager.StandardIntegrityTokenProvider.request(StandardIntegrityTokenRequest)
का जवाब.
खास जानकारी
सार्वजनिक कंस्ट्रक्टर | |
---|---|
StandardIntegrityToken()
|
सार्वजनिक तरीके | |
---|---|
abstract
Task<Integer>
|
showDialog(Activity activity, int typeCode)
उपयोगकर्ता को डायलॉग दिखाता है. |
abstract
String
|
token()
एक टोकन, जिसमें इंटिग्रिटी से जुड़ी पूछताछ के जवाब शामिल होते हैं. |
इनहेरिट किए गए तरीके | |
---|---|
सार्वजनिक कंस्ट्रक्टर
StandardIntegrityToken
public StandardIntegrityToken ()
सार्वजनिक तरीके
डायलॉग बॉक्स दिखाएं
public abstract Task<Integer> showDialog (Activity activity, int typeCode)
उपयोगकर्ता को डायलॉग दिखाता है.
इस तरीके को Integrity API से मिले हर रिस्पॉन्स के लिए, सिर्फ़ एक बार कॉल किया जा सकता है.
पैरामीटर | |
---|---|
activity |
Activity |
typeCode |
int : इससे तय होता है कि कौनसा इंटिग्रिटी डायलॉग दिखाया जाना चाहिए. उपलब्ध वैल्यू
token() में देखा जा सकता है. |
रिटर्न | |
---|---|
Task<Integer> |
एक Task जो IntegrityDialogResponseCode के साथ पूरा होता है
ShowDialog फ़्लो सफल या असफल रहा.
|