Métodos
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Na Biblioteca comum de revendedores do Android, a classe SamsungResellerServiceFactory
usa o Programa de implantação do Knox
(KDP) para gerenciar dispositivos Samsung, enquanto a classe GoogleResellerServiceFactory
usa o registro sem toque para gerenciar
outros dispositivos Android. Esta página
lista os métodos disponíveis para cada classe de fábrica:
O método é compatível.
O método não é compatível.
Método |
Descrição |
DP |
Sem toque |
claimDevice |
Solicitação síncrona para reivindicar um dispositivo para um cliente especificado. |
|
|
claimDevicesAsync |
Solicitação assíncrona para reivindicar até 100.000 dispositivos para um ou mais clientes. |
|
|
createCustomer |
Cria um objeto Company para identificar uma empresa (cliente) de forma exclusiva. |
|
|
findDevicesByDeviceIdentifier |
Lista dispositivos com um determinado identificador. |
|
|
findDevicesByOwner |
Lista de dispositivos reivindicados pelos clientes especificados. |
|
|
getOperation |
Recupera o status de uma operação assíncrona usando o operationId . |
|
|
listCustomers |
Lista de clientes associados ao revendedor. |
|
|
listOperations |
Lista de operações com um tipo e/ou estado de operação especificado. |
|
|
unclaimDevice |
Solicitação síncrona para cancelar a reivindicação de um único dispositivo para um cliente específico. |
|
|
unclaimDevicesAsync |
Solicitação assíncrona para cancelar a reivindicação de até 100 mil dispositivos de um ou mais clientes. |
|
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 2025-07-25 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSamsungResellerServiceFactory\u003c/code\u003e class uses the Knox Deployment Program (KDP) to manage Samsung devices.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogleResellerServiceFactory\u003c/code\u003e class uses zero-touch enrollment to manage other Android devices.\u003c/p\u003e\n"],["\u003cp\u003eThe Common Android Reseller Library offers methods such as \u003ccode\u003eclaimDevice\u003c/code\u003e, \u003ccode\u003eunclaimDevice\u003c/code\u003e, and \u003ccode\u003ecreateCustomer\u003c/code\u003e for device management.\u003c/p\u003e\n"],["\u003cp\u003eMethods like \u003ccode\u003eclaimDevicesAsync\u003c/code\u003e and \u003ccode\u003eunclaimDevicesAsync\u003c/code\u003e provide asynchronous options for managing large numbers of devices.\u003c/p\u003e\n"],["\u003cp\u003eThe library allows resellers to manage customers through methods like \u003ccode\u003ecreateCustomer\u003c/code\u003e and \u003ccode\u003elistCustomers\u003c/code\u003e, and track operation status using \u003ccode\u003egetOperation\u003c/code\u003e and \u003ccode\u003elistOperations\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,["Through the Common Android Reseller Library, the [`SamsungResellerServiceFactory`](/zero-touch/reseller-library/reference/factory-classes#samsungresellerservicefactory) class uses [Knox Deployment Program](https://www.samsungknox.com/en/knox-deployment-program)\n(KDP) to manage Samsung devices, while the [`GoogleResellerServiceFactory`](/zero-touch/reseller-library/reference/factory-classes#googleresellerservicefactory) class uses zero-touch enrollment to manage\n[other Android devices](/zero-touch/resources/manufacturer-names). This page\nlists methods available to each factory class:\n\nthe method is supported \n\nthe method isn't supported\n\n| Method | Description | KDP | Zero-touch |\n|-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|-----|------------|\n| [`claimDevice`](/zero-touch/reseller-library/reference/methods/claimdevice) | Synchronous request to claim one device for a specified customer. | | |\n| [`claimDevicesAsync`](/zero-touch/reseller-library/reference/methods/claimdevicesasync) | Asynchronous request to claim up to 100,000 devices for one or more customers. | | |\n| [`createCustomer`](/zero-touch/reseller-library/reference/methods/createcustomer) | Creates a [`Company`](/zero-touch/reseller-library/reference/objects#company) object to uniquely identify a company (customer). | | |\n| [`findDevicesByDeviceIdentifier`](/zero-touch/reseller-library/reference/methods/finddevicesbydeviceidentifier) | List devices with given device identifier. | | |\n| [`findDevicesByOwner`](/zero-touch/reseller-library/reference/methods/finddevicesbyowner) | List of devices claimed by the specified customer or customers. | | |\n| [`getOperation`](/zero-touch/reseller-library/reference/methods/getoperation) | Retrieves the status of an asynchronous operation using its `operationId`. | | |\n| [`listCustomers`](/zero-touch/reseller-library/reference/methods/listcustomers) | List of customers associated with the reseller. | | |\n| [`listOperations`](/zero-touch/reseller-library/reference/methods/listoperations) | List of operations with a specified operation type and/or operation state. | | |\n| [`unclaimDevice`](/zero-touch/reseller-library/reference/methods/unclaimdevice) | Synchronous request to unclaim a single device for a specified customer. | | |\n| [`unclaimDevicesAsync`](/zero-touch/reseller-library/reference/methods/unclaimdevicesasync) | Asynchronous request to unclaim up to 100,000 devices for one or more customers. | | |"]]