Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- com.vuzix.licensing - package com.vuzix.licensing
D
- daysCacheValid - Variable in class com.vuzix.licensing.ValidateOptions
-
Specifies the number of days a cached subscription validation result should be considered valid.
- daysGracePeriod - Variable in class com.vuzix.licensing.ValidateOptions
-
Specifies the number of days a valid cached result can override an invalid live result.
E
- ERROR_SERVER_NOT_AVAILABLE_CACHE_EXPIRED - Static variable in exception class com.vuzix.licensing.ValidateException
-
Error code indicating that the subscription could not be validated with the server and the previous cached results are expired.
- ERROR_SERVER_NOT_AVAILABLE_NO_CACHE_AVAILABLE - Static variable in exception class com.vuzix.licensing.ValidateException
-
Error code indicating that the subscription could not be validated with the server and no prior cached results are available.
G
- getCacheDate() - Method in class com.vuzix.licensing.ValidateResult
-
If a cached result, returns the date the result was cached, null otherwise.
- getDaysGracePeriodRemains() - Method in class com.vuzix.licensing.ValidateResult
-
Determines the number of full days remaining in the grace period.
- getDaysTrialRemains() - Method in class com.vuzix.licensing.ValidateResult
-
Determines the number of full days remaining in the trial period.
- getErrorCode() - Method in exception class com.vuzix.licensing.ValidateException
-
Returns the error code.
- getErrorMessage() - Method in class com.vuzix.licensing.ValidateResult
-
Returns the error message, if any is available
- getGracePeriodEndDate() - Method in class com.vuzix.licensing.ValidateResult
-
If grace period applies, returns the date the grace period will end, null otherwise.
- getLastProcessedDate() - Method in class com.vuzix.licensing.ValidateResult
-
Returns the last date the subscription was processed.
- getName() - Method in class com.vuzix.licensing.ValidateResult
-
Returns the subscription name.
- getNextProcessedDate() - Method in class com.vuzix.licensing.ValidateResult
-
Returns the next date the subscription will be processed.
- getTier() - Method in class com.vuzix.licensing.ValidateResult
-
Returns the subscription tier.
I
- isError() - Method in class com.vuzix.licensing.ValidateResult
-
Indicates if an error is present.
- isFromCache() - Method in class com.vuzix.licensing.ValidateResult
-
Determines if this result is cached.
- isGracePeriod() - Method in class com.vuzix.licensing.ValidateResult
-
Determines if the grace period applies.
- isTrial() - Method in class com.vuzix.licensing.ValidateResult
-
Determines if the subscription is a trial.
- isValid() - Method in class com.vuzix.licensing.ValidateResult
-
Determines if the subscription is currently valid.
L
- Licensing - Class in com.vuzix.licensing
-
The Licensing API allows you query for Vuzix App Store subscription status.
- Licensing(Context, String) - Constructor for class com.vuzix.licensing.Licensing
-
Creates a new instance of the Licensing API.
- Licensing.Callback - Interface in com.vuzix.licensing
-
Callback used with asynchronous subscription validation.
O
- onError(int) - Method in interface com.vuzix.licensing.Licensing.Callback
-
Invoked when an error occurs during subscription validation.
- onResult(ValidateResult) - Method in interface com.vuzix.licensing.Licensing.Callback
-
Invoked when subscription validation results are available.
S
- setServerURL(String) - Method in class com.vuzix.licensing.Licensing
V
- ValidateException - Exception Class in com.vuzix.licensing
-
Exception to indicate an error during subscription validation.
- ValidateException(int) - Constructor for exception class com.vuzix.licensing.ValidateException
-
Creates a new ValidateException
- ValidateOptions - Class in com.vuzix.licensing
-
Options for subscription validation.
- ValidateOptions() - Constructor for class com.vuzix.licensing.ValidateOptions
-
Create the options at their default values.
- ValidateResult - Class in com.vuzix.licensing
-
Represents a subscription validation result.
- validateSubscription() - Method in class com.vuzix.licensing.Licensing
-
Validates a subscription synchronously with default options.
- validateSubscription(Licensing.Callback) - Method in class com.vuzix.licensing.Licensing
-
Validates a subscription asynchronously with default options, returning results via the provided callback.
- validateSubscription(ValidateOptions) - Method in class com.vuzix.licensing.Licensing
-
Validates a subscription synchronously.
- validateSubscription(ValidateOptions, Licensing.Callback) - Method in class com.vuzix.licensing.Licensing
-
Validates a subscription asynchronously, returning results via the provided callback.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form