Package 

Class NullDeviceLimiter

  • All Implemented Interfaces:
    com.google.android.vending.licensing.DeviceLimiter

    
    public class NullDeviceLimiter
     implements DeviceLimiter
                        

    A DeviceLimiter that doesn't limit the number of devices that can use a given user's license.

    Unless you have reason to believe that your application is being pirated by multiple users using the same license (signing in to Market as the same user), we recommend you use this implementation.

    • Method Summary

      Modifier and Type Method Description
      int isDeviceAllowed(String userId) Checks if this device is allowed to use the given user's license.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isDeviceAllowed

         int isDeviceAllowed(String userId)

        Checks if this device is allowed to use the given user's license.

        Parameters:
        userId - the user whose license the server responded with