語言

Intent.RemoveLaunchSecurityProtection 方法

定義

當意圖作為嵌入的額外意圖來自其他應用程式或元件時,系統會建立一個標記來識別該外部意圖的創建者。 若此令牌遺失或無效,系統將阻擋該意圖的啟動。 如果該目標包含有效的標記,系統會對創建者進行驗證,以阻止其無權啟動的啟動目標,或阻止其授予無法存取的 URI 存取權。 此方法提供一種選擇退出此功能的方法。

[Android.Runtime.Register("removeLaunchSecurityProtection", "()V", "GetRemoveLaunchSecurityProtectionHandler", ApiSince=36)]
public virtual void RemoveLaunchSecurityProtection();
[<Android.Runtime.Register("removeLaunchSecurityProtection", "()V", "GetRemoveLaunchSecurityProtectionHandler", ApiSince=36)>]
abstract member RemoveLaunchSecurityProtection : unit -> unit
override this.RemoveLaunchSecurityProtection : unit -> unit
屬性

備註

當意圖作為嵌入的額外意圖來自其他應用程式或元件時,系統會建立一個標記來識別該外部意圖的創建者。 若此令牌遺失或無效,系統將阻擋該意圖的啟動。 如果該目標包含有效的標記,系統會對創建者進行驗證,以阻止其無權啟動的啟動目標,或阻止其授予無法存取的 URI 存取權。 此方法提供一種選擇退出此功能的方法。

Java 文件 android.content.Intent.removeLaunchSecurityProtection()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於