วิธีการ PickerBuilder.setMaxItems
ตั้งค่าจำนวนรายการสูงสุดที่ผู้ใช้เลือกได้
ลายเซ็น
setMaxItems(max: number): PickerBuilder;
รายละเอียด
ไม่บังคับ |
ไม่ได้ |
รอบชิงชนะเลิศ |
ไม่ได้ |
มีการป้องกัน |
ไม่ได้ |
คงที่ |
ไม่ได้ |
พารามิเตอร์
ชื่อ |
ประเภท |
ไม่บังคับ |
คำอธิบาย |
max |
number |
ไม่ได้ |
|
การคืนสินค้า
PickerBuilder
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-07 UTC
[null,null,["อัปเดตล่าสุด 2024-11-07 UTC"],[[["Sets the maximum number of items a user can select in a picker."],["This method is not optional, final, protected, or static."],["It accepts a single required parameter, `max`, which is a number representing the maximum selectable items."],["Using this method returns a `PickerBuilder` object for further configuration."]]],[]]