Ortak Android Bayi Kitaplığı
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu sayfada, Ortak Android Bayi Kitaplığı'ndaki tüm kaynaklar listelenmiştir.
Nesneler |
|
CompanyReference |
Bir şirketi (müşteri) benzersiz bir şekilde tanımlar. |
Company |
Bir şirketi (müşteri) temsil eder. |
Device |
Kayıt için kaydedilmiş bir Android cihaz. |
DeviceIdentifier |
Üreticinin cihazını tanımlamak için donanım ve ürün kimliklerini içerir. |
Operation |
Eşzamansız API çağrısının durumu. |
DeviceOperationError |
Operation içindeki cihaza özel bir hata. |
CommonException |
Eşzamanlı tüm API'lerin atabileceği bir istisnadır. |
Error |
Hatayla ilgili ayrıntıları içeren bir nesne. |
ErrorCode |
Sık karşılaşılan hatalar. |
Yöntemler |
|
claimDevice |
Belirli bir müşteri için bir cihaz üzerinde hak talebinde bulunmayla ilgili eşzamanlı istek. |
claimDevicesAsync |
Bir veya daha fazla müşteri için 100.000 adede kadar cihaz için hak talebinde bulunma eşzamansız isteği. |
createCustomer |
Bir şirketi (müşteri) benzersiz şekilde tanımlamak için bir Company nesnesi oluşturur. |
findDevicesByDeviceIdentifier |
Belirtilen cihaz tanımlayıcısına sahip cihazları listeleyin. |
findDevicesByOwner |
Belirtilen müşteri veya müşteriler tarafından hak talebinde bulunulan cihazların listesi. |
getOperation |
Eşzamansız bir işlemin durumunu operationId kullanarak alır. |
listCustomers |
Bayiyle ilişkili müşterilerin listesi. |
listOperations |
Belirli bir işlem türü ve/veya işlem durumuna sahip işlemlerin listesi. |
unclaimDevice |
Belirli bir müşterinin tek bir cihazın hak talebini iptal etme isteği. |
unclaimDevicesAsync |
Bir veya daha fazla müşteri için 100.000 adede kadar cihazın hak talebini iptal etmek için yapılan eşzamansız istek. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-29 UTC.
[null,null,["Son güncelleme tarihi: 2025-08-29 UTC."],[[["\u003cp\u003eThis page provides a comprehensive list of resources available within the Common Android Reseller Library, including factory classes, objects, and methods.\u003c/p\u003e\n"],["\u003cp\u003eThe library includes factory classes for managing both Samsung and non-Samsung devices and customers via \u003ccode\u003eSamsungResellerServiceFactory\u003c/code\u003e and \u003ccode\u003eGoogleResellerServiceFactory\u003c/code\u003e respectively.\u003c/p\u003e\n"],["\u003cp\u003eKey objects within the library facilitate the management of companies, devices, operations, and errors, such as \u003ccode\u003eCompany\u003c/code\u003e, \u003ccode\u003eDevice\u003c/code\u003e, \u003ccode\u003eOperation\u003c/code\u003e, and \u003ccode\u003eError\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe library offers a range of methods to manage devices, including synchronously and asynchronously claiming or unclaiming devices, creating customer objects, and retrieving operation status.\u003c/p\u003e\n"],["\u003cp\u003eMethods are also available for listing devices by identifier or owner, and listing customers and operations within the reseller scope.\u003c/p\u003e\n"]]],["The Common Android Reseller Library provides resources for managing devices and customers. Key actions include claiming and unclaiming devices synchronously or asynchronously, creating customer objects (`Company`), and retrieving operation statuses. It offers methods to list devices by identifier or owner, and to list customers and operations. Factory classes `SamsungResellerServiceFactory` and `GoogleResellerServiceFactory` create `ResellerService` objects. The library also defines objects such as `Device`, `DeviceIdentifier`, `Operation`, `Error`, and `ErrorCode`.\n"],null,["# Common Android Reseller Library\n\nThis page lists all the resources available in the Common Android Reseller Library.\n\n| Factory classes | |\n|-------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [`SamsungResellerServiceFactory`](/zero-touch/reseller-library/reference/factory-classes#samsungresellerservicefactory) | Factory class to create `ResellerService` objects for managing Samsung devices. |\n| [`GoogleResellerServiceFactory`](/zero-touch/reseller-library/reference/factory-classes#googleresellerservicefactory) | Factory class to create `ResellerService` objects for managing non-Samsung devices and customers. |\n\n| Objects | |\n|-----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n| [`CompanyReference`](/zero-touch/reseller-library/reference/objects#companyreference) | Uniquely identifies a company (customer). |\n| [`Company`](/zero-touch/reseller-library/reference/objects#company) | Represents a company (customer). |\n| [`Device`](/zero-touch/reseller-library/reference/objects#device) | An Android device registered for enrollment. |\n| [`DeviceIdentifier`](/zero-touch/reseller-library/reference/objects#deviceidentifier) | Encapsulates hardware and product IDs to identify a manufacturer's device. |\n| [`Operation`](/zero-touch/reseller-library/reference/objects#operation) | The status of an asynchronous API call. |\n| [`DeviceOperationError`](/zero-touch/reseller-library/reference/objects#deviceoperationerror) | A device-specific error in an `Operation`. |\n| [`CommonException`](/zero-touch/reseller-library/reference/objects#commonexception) | An exception that can be thrown by all synchronous APIs. |\n| [`Error`](/zero-touch/reseller-library/reference/objects#error) | An object containing details about an error. |\n| [`ErrorCode`](/zero-touch/reseller-library/reference/objects#errorcode) | Common errors. |\n\n| Methods | |\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. |"]]