DocumentsContract.Document.FlagDirBlocksOpenDocumentTree フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This constant will be removed in the future version. Use Android.Provider.DocumentContractFlags enum directly instead of this field.
ドキュメントが、ユーザーが意図を起動 Intent#ACTION_OPEN_DOCUMENT_TREE
したときに自身が選択されないようにするディレクトリであることを示すフラグ。
[Android.Runtime.Register("FLAG_DIR_BLOCKS_OPEN_DOCUMENT_TREE", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Provider.DocumentContractFlags enum directly instead of this field.", true)]
public const Android.Provider.DocumentContractFlags FlagDirBlocksOpenDocumentTree = 32768;
[<Android.Runtime.Register("FLAG_DIR_BLOCKS_OPEN_DOCUMENT_TREE", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Provider.DocumentContractFlags enum directly instead of this field.", true)>]
val mutable FlagDirBlocksOpenDocumentTree : Android.Provider.DocumentContractFlags
フィールド値
Value = 32768- 属性
注釈
ドキュメントが、ユーザーが意図を起動 Intent#ACTION_OPEN_DOCUMENT_TREE
したときに自身が選択されないようにするディレクトリであることを示すフラグ。 や Intent#ACTION_GET_CONTENT
などのIntent#ACTION_OPEN_DOCUMENT
他の意図を使用して起動しても、個々のファイルを選択できます。 が の場合 #COLUMN_MIME_TYPE
にのみ有効です #MIME_TYPE_DIR
。
このフラグ <em>のみ</em> は、適用先の単一ディレクトリに適用されることに注意してください。 要求中にユーザーが親ディレクトリまたは子ディレクトリを選択するのをブロックしません<。><>Intent#ACTION_OPEN_DOCUMENT_TREE
特に、要求を介してIntent#ACTION_OPEN_DOCUMENT_TREE
特定のディレクトリを許可できないことを保証する唯一の方法は、そのディレクトリとその<>すべての親ディレクトリ</em> の両方でこのフラグが設定されていることを確認することです。
の android.provider.DocumentsContract.Document.FLAG_DIR_BLOCKS_OPEN_DOCUMENT_TREE
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。