共用方式為


View.DragFlagGlobalPersistableUriPermission 欄位

定義

警告

This constant will be removed in the future version. Use Android.Views.DragFlags enum directly instead of this field.

當此旗標與 和/或 #DRAG_FLAG_GLOBAL_URI_WRITE搭配#DRAG_FLAG_GLOBAL_URI_READ使用時,URI 許可權授與可以在裝置重新啟動期間保存,直到使用Context明確撤銷android.content.Context#revokeUriPermission(Uri, int)為止。

[Android.Runtime.Register("DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.DragFlags enum directly instead of this field.", true)]
public const Android.Views.DragFlags DragFlagGlobalPersistableUriPermission = 64;
[<Android.Runtime.Register("DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.DragFlags enum directly instead of this field.", true)>]
val mutable DragFlagGlobalPersistableUriPermission : Android.Views.DragFlags

欄位值

Value = 64
屬性

備註

當此旗標與 #DRAG_FLAG_GLOBAL_URI_READ 和/或 #DRAG_FLAG_GLOBAL_URI_WRITE搭配使用時,URI 許可權授與可以在裝置重新啟動期間保存,直到使用Context.revokeUriPermission} 明確撤銷 android.content.Context#revokeUriPermission(Uri, int) 為止。

android.view.View.DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSIONJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於