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)

เลิกใช้วิธีนี้แล้ว โปรดใช้ StandardIntegrityManager.showDialog(StandardIntegrityDialogRequest) แทน

abstract String token()

โทเค็นที่มีการตอบกลับสำหรับคำถามที่เกี่ยวข้องกับความสมบูรณ์

วิธีการที่รับช่วง

ผู้สร้างสาธารณะ

StandardIntegrityToken

public StandardIntegrityToken ()

เมธอดสาธารณะ

showDialog

public abstract Task<Integer> showDialog (Activity activity, 
                int typeCode)

เลิกใช้เมธอดนี้แล้ว
โปรดใช้ StandardIntegrityManager.showDialog(StandardIntegrityDialogRequest) แทน

แสดงกล่องโต้ตอบต่อผู้ใช้

เรียกใช้เมธอดนี้ได้เพียงครั้งเดียวต่อการตอบกลับจาก Integrity API

พารามิเตอร์
activity Activity

typeCode int: กำหนดประเภทกล่องโต้ตอบความสมบูรณ์ที่ควรแสดง ค่าที่ใช้ได้ ดูได้ใน token()

คิกรีเทิร์น
Task<Integer> Task ที่เสร็จสมบูรณ์พร้อม IntegrityDialogResponseCode โฟลว์ showDialog สำเร็จหรือไม่สำเร็จ

โทเค็น

public abstract String token ()

โทเค็นที่มีการตอบกลับสำหรับคำถามที่เกี่ยวข้องกับความสมบูรณ์

คิกรีเทิร์น
String