DeviceRegistry

com.anywherecommerce.android.sdk.devices

Class DeviceRegistry

  • java.lang.Object

  • com.anywherecommerce.android.sdk.devices.DeviceRegistry

  • public class <span class="typeNameLabel">DeviceRegistry</span>
    extends java.lang.Object
    

    Created by Admin on 9/10/2017.

Method Summary

  Modifier and TypeMethod and Description`static int``<span class="memberNameLink">

getCount() static java.lang.String[]``

getTestDeviceSerialRanges() static boolean````

isDeviceRegisteredForServer(java.lang.String ksn,
java.lang.String url)
` `static boolean

isRegistrationPending(

PeripheralDevice device) static void````

registerDeviceForUrl(java.lang.String ksn,
java.lang.String url)
`` static void````

submitRegistrationRequest(

PeripheralDevice device,
RequestListener listener)
```

Methods inherited from class java.lang.Object

        `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

getCount

        `public static int getCount()`

getTestDeviceSerialRanges

        `public static java.lang.String[] getTestDeviceSerialRanges()`

registerDeviceForUrl

        ```
        public static void registerDeviceForUrl(java.lang.String ksn,
                                                java.lang.String url)
        ```

isDeviceRegisteredForServer

        ```
        public static boolean isDeviceRegisteredForServer(java.lang.String ksn,
                                                          java.lang.String url)
        ```

submitRegistrationRequest

        ```
        public static void submitRegistrationRequest(

PeripheralDevice device,
RequestListener listener)
```

isRegistrationPending

        `public static boolean isRegistrationPending(

PeripheralDevice device)`