方法 PickerBuilder.setDocument
设置文档。
签名
setDocument(document: Document): PickerBuilder;
详细信息
参数
返回
PickerBuilder
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-14。
[null,null,["最后更新时间 (UTC):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"]]