方法 PickerBuilder.disableFeature
停用选择器功能。
签名
disableFeature(feature: Feature): PickerBuilder;
详细信息
参数
返回
PickerBuilder
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-09。
[null,null,["最后更新时间 (UTC):2024-11-09。"],[[["The `disableFeature` method allows you to disable a specific feature within the Picker."],["It accepts a single, required parameter: `feature` of type `Feature`, indicating the feature to disable."],["This method is not optional, final, protected, or static."],["Calling `disableFeature` returns a `PickerBuilder` instance, enabling method chaining for further customization."]]],["The `disableFeature` function, part of `PickerBuilder`, disables a specified `Feature`. It requires a `Feature` type parameter and is neither optional, final, protected, nor static. It returns a `PickerBuilder` object. The function is used to disable a picker feature based on the passed-in feature's name. There is not any optional parameter.\n"]]