Metody
W popularnej bibliotece sprzedawców na Androida klasa SamsungResellerServiceFactory
służy do zarządzania urządzeniami Knop, a klasą GoogleResellerServiceFactory
do zarządzania innymi urządzeniami z Androidem. Na tej stronie znajdziesz listę metod dostępnych dla poszczególnych klas fabrycznych:
metoda jest obsługiwana
metoda nie jest obsługiwana
Metoda |
Opis |
KDP, |
Zero-Touch |
claimDevice |
Synchroniczne żądanie zgłoszenia praw do 1 urządzenia dla określonego klienta. |
|
|
claimDevicesAsync |
Asynchroniczne żądanie zgłoszenia do maksymalnie 100 tys. urządzeń dla jednego lub większej liczby klientów. |
|
|
createCustomer |
Tworzy obiekt Company , który jednoznacznie identyfikuje firmę (klienta). |
|
|
findDevicesByDeviceIdentifier |
Wyświetl listę urządzeń o podanym identyfikatorze urządzenia. |
|
|
findDevicesByOwner |
Lista urządzeń, które zostały zgłoszone przez konkretnego klienta lub klienta. |
|
|
getOperation |
Pobiera stan operacji asynchronicznego przy użyciu jego operationId . |
|
|
listCustomers |
Lista klientów powiązanych ze sprzedawcą. |
|
|
listOperations |
Lista operacji o określonym typie lub stanie operacji. |
|
|
unclaimDevice |
Synchroniczne żądanie usunięcia pojedynczego urządzenia określonego klienta. |
|
|
unclaimDevicesAsync |
Asynchroniczne żądanie usunięcia nawet 100 tys. urządzeń dla jednego lub większej liczby klientów. |
|
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-07 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]