撤銷陳述式
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
撤銷對帳單
沒有可修改的全域陳述式存放區,或明確宣告陳述式已不再受到支援。你必須使用此處的方法撤銷聲明,並根據你的用戶端應用程式及時檢查陳述式是否存在。
如要刪除對帳單:
- 如果是網站,請從對帳單清單中刪除陳述式,或將對帳單檔案完全刪除。網路伺服器停止提供網站陳述式後,就會過期,再加上快取存留時間。Google Digital Assets API 會強制規定存留時間上限為八天。
- 如果是 Android 應用程式,請在不含陳述式的情況下更新新的 APK。新版應用程式上傳至 Play 商店並設為「已上線」後,使用者就無法搜尋到對帳單。舊的陳述式可能需要兩天才能從所有快取中完全清除。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eThere isn't a central method to revoke statements; revocation relies on removing or updating statement sources.\u003c/p\u003e\n"],["\u003cp\u003eWebsite statement revocation involves deleting the statement list or file, leading to expiration after server removal and cached TTL.\u003c/p\u003e\n"],["\u003cp\u003eAndroid app statement revocation requires updating the APK without the statement, making old statements undiscoverable after the new version is live.\u003c/p\u003e\n"]]],[],null,["# Revoking a Statement\n\nRevoking a statement\n--------------------\n\nThere is no global statement repository that can be modified, or any way to explicitly declare a statement as no longer supported. You will have to depend on the methods here to revoke a statement, and depend on your client app to check for the presence of the statement in a timely manner.\n\n**To delete a statement:**\n\n- **For websites**, delete the statement from the statement list, or delete the statement file entirely. Website statements expire after the web server stops serving them plus the cached TTL time. The Google Digital Assets API enforces a max limit of eight days on the TTL.\n- **For Android apps**, update a new APK without the statement. Statements become undiscoverable when a new version of the app is uploaded and set to \"live\" in the Play Store. It may take up to two days for old statements to flush out of all the caches."]]