सामान्य Android पुनर्विक्रेता लाइब्रेरी
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस पेज पर, Android की रीसेलर लाइब्रेरी में मौजूद सभी संसाधनों की सूची दी गई है.
फ़ैक्ट्री क्लास |
|
SamsungResellerServiceFactory |
Samsung डिवाइसों को मैनेज करने के लिए, ResellerService ऑब्जेक्ट बनाने के लिए फ़ैक्ट्री क्लास. |
GoogleResellerServiceFactory |
Samsung के अलावा, अन्य डिवाइसों और ग्राहकों को मैनेज करने के लिए, ResellerService ऑब्जेक्ट बनाने के लिए फ़ैक्ट्री क्लास. |
ऑब्जेक्ट |
|
CompanyReference |
किसी कंपनी (ग्राहक) की खास पहचान करता है. |
Company |
किसी कंपनी (ग्राहक) के बारे में बताता है. |
Device |
नाम दर्ज करने के लिए रजिस्टर किया गया Android डिवाइस. |
DeviceIdentifier |
मैन्युफ़ैक्चरर के डिवाइस की पहचान करने के लिए, हार्डवेयर और प्रॉडक्ट आईडी को एन्क्रिप्ट (सुरक्षित) करता है. |
Operation |
एसिंक्रोनस एपीआई कॉल की स्थिति. |
DeviceOperationError |
Operation में डिवाइस के हिसाब से गड़बड़ी. |
CommonException |
अपवाद, जिसे सभी सिंक्रोनस एपीआई इस्तेमाल कर सकते हैं. |
Error |
किसी गड़बड़ी के बारे में जानकारी देने वाला ऑब्जेक्ट. |
ErrorCode |
सामान्य गड़बड़ियां. |
तरीके |
|
claimDevice |
किसी खास ग्राहक के लिए, एक डिवाइस पर दावा करने का अनुरोध. |
claimDevicesAsync |
एक या उससे ज़्यादा ग्राहकों के लिए, 1,00,000 डिवाइसों पर दावा करने का एसिंक्रोनस अनुरोध. |
createCustomer |
किसी कंपनी (ग्राहक) की खास पहचान करने के लिए, Company ऑब्जेक्ट बनाता है. |
findDevicesByDeviceIdentifier |
डिवाइस आइडेंटिफ़ायर वाले डिवाइसों की सूची बनाएं. |
findDevicesByOwner |
उन डिवाइस की सूची जिन पर खास ग्राहक या ग्राहकों ने दावा किया है. |
getOperation |
यह अपने operationId का इस्तेमाल करके एसिंक्रोनस ऑपरेशन की स्थिति को फिर से हासिल करता है. |
listCustomers |
रीसेलर से जुड़े ग्राहकों की सूची. |
listOperations |
किसी खास तरह की कार्रवाई और/या कार्रवाई की स्थिति वाले ऑपरेशन की सूची. |
unclaimDevice |
किसी खास ग्राहक के लिए एक डिवाइस पर दावा हटाने का सिंक्रोनस अनुरोध. |
unclaimDevicesAsync |
एक या ज़्यादा ग्राहकों के लिए, 1,00,000 डिवाइसों पर दावा छोड़ने का एसिंक्रोनस अनुरोध. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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. |"]]