DocumentsContract.Document.FlagDirBlocksOpenDocumentTree フィールド

定義

注意事項

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_OPEN_DOCUMENTIntent#ACTION_GET_CONTENTなどの他の意図を使用して起動しても、個々のファイルを選択できます。 #COLUMN_MIME_TYPE#MIME_TYPE_DIRされている場合にのみ有効です。

このフラグ <em>only</em> が適用される単一ディレクトリに適用されることに注意してください。 <em></em>ユーザーがIntent#ACTION_OPEN_DOCUMENT_TREE要求中に親ディレクトリまたは子ディレクトリを選択できないようにします。 特に、特定のディレクトリを Intent#ACTION_OPEN_DOCUMENT_TREE 要求を介して許可できないことを保証する唯一の方法は、そのディレクトリと <em>その親ディレクトリのすべて</em> がこのフラグを設定していることを確認することです。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象