方法 PickerBuilder.setDocument
設定文件。
簽名
setDocument(document: Document): PickerBuilder;
詳細資料
參數
傳回
PickerBuilder
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-10-14 (世界標準時間)。
[null,null,["上次更新時間:2024-10-14 (世界標準時間)。"],[[["The `setDocument` method allows you to specify the document to be used within the PickerBuilder."],["This method is a non-final, non-protected, and non-static instance method of the `PickerBuilder` class."],["It accepts a single, required parameter: `document` of type `Document`."],["Calling `setDocument` returns an instance of `PickerBuilder`, allowing for method chaining."]]],["The `setDocument` method, part of `PickerBuilder`, accepts a `Document` object as a mandatory parameter. This method is not optional, final, protected, or static. It configures the document to be used and returns a `PickerBuilder` object, allowing for further configuration. The specific type of document is detailed in the referenced \"picker.document.md\" file.\n"]]