วิธีการ
ชั้นเรียน SamsungResellerServiceFactory
จะใช้ไลบรารีของตัวแทนจําหน่าย Android ทั่วไป โดยใช้โปรแกรมการทําให้ใช้งานได้ของ Knox
(KDP) เพื่อจัดการอุปกรณ์ Samsung ส่วนชั้นเรียน GoogleResellerServiceFactory
ใช้การตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่มเพื่อจัดการอุปกรณ์ Android อื่นๆ หน้านี้จะแสดงวิธีการที่ใช้ได้กับชั้นเรียนเริ่มต้นแต่ละชั้น
รองรับเมธอดนี้
ไม่รองรับเมธอดดังกล่าว
วิธีการ |
คำอธิบาย |
KDP |
การตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่ม |
claimDevice |
คําขอแบบพร้อมกันเพื่ออ้างสิทธิ์อุปกรณ์ 1 เครื่องสําหรับลูกค้าที่ระบุ |
|
|
claimDevicesAsync |
คําขอแบบไม่พร้อมกันเพื่ออ้างสิทธิ์อุปกรณ์สูงสุด 100,000 รายการสําหรับลูกค้าอย่างน้อย 1 ราย |
|
|
createCustomer |
สร้างออบเจ็กต์ Company เพื่อระบุบริษัท (ลูกค้า) แต่ละแห่ง |
|
|
findDevicesByDeviceIdentifier |
ระบุอุปกรณ์ที่มีตัวระบุอุปกรณ์ที่ระบุ |
|
|
findDevicesByOwner |
รายการอุปกรณ์ที่อ้างสิทธิ์โดยลูกค้าที่ระบุ |
|
|
getOperation |
เรียกดูสถานะการดําเนินการแบบไม่พร้อมกันโดยใช้ operationId |
|
|
listCustomers |
รายชื่อลูกค้าที่เชื่อมโยงกับตัวแทนจําหน่าย |
|
|
listOperations |
รายการการดําเนินการที่มีประเภทการดําเนินการและ/หรือสถานะการดําเนินการที่ระบุ |
|
|
unclaimDevice |
คําขอแบบพร้อมกันเพื่อถอนการอ้างสิทธิ์อุปกรณ์เครื่องเดียวสําหรับลูกค้าที่ระบุ |
|
|
unclaimDevicesAsync |
คําขอแบบไม่พร้อมกันเพื่อยกเลิกการอ้างสิทธิ์อุปกรณ์สูงสุด 100,000 รายการสําหรับลูกค้าอย่างน้อย 1 ราย |
|
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-07 UTC
[null,null,["อัปเดตล่าสุด 2024-08-07 UTC"],[[["The `SamsungResellerServiceFactory` class uses the Knox Deployment Program (KDP) to manage Samsung devices."],["The `GoogleResellerServiceFactory` class uses zero-touch enrollment to manage other Android devices."],["The Common Android Reseller Library offers methods such as `claimDevice`, `unclaimDevice`, and `createCustomer` for device management."],["Methods like `claimDevicesAsync` and `unclaimDevicesAsync` provide asynchronous options for managing large numbers of devices."],["The library allows resellers to manage customers through methods like `createCustomer` and `listCustomers`, and track operation status using `getOperation` and `listOperations`."]]],["The Common Android Reseller Library uses `SamsungResellerServiceFactory` for Knox Deployment Program (KDP) Samsung devices and `GoogleResellerServiceFactory` for zero-touch enrollment of other Android devices. Key actions include: claiming and unclaiming devices (individually or in bulk), creating customer objects, listing devices by identifier or owner, and retrieving operation statuses. Resellers can also list customers and operations, filtering by type or state. Supported methods differ between KDP and zero-touch.\n"]]