com.aelitis.azureus.util
Class FeatureUtils
java.lang.Object
com.aelitis.azureus.util.FeatureUtils
public class FeatureUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureUtils
public FeatureUtils()
getPlusMode
public static java.lang.String getPlusMode()
getNoAdsMode
public static java.lang.String getNoAdsMode()
hasPlusLicence
public static boolean hasPlusLicence()
hasFullLicence
public static boolean hasFullLicence()
- Deprecated. Use
hasPlusLicence()
- Only used by old promo plugins (<=2.0)
hasTrialLicence
public static boolean hasTrialLicence()
hasNoAdLicence
public static boolean hasNoAdLicence()
getPlusFeatureDetails
public static FeatureUtils.licenceDetails getPlusFeatureDetails()
getPlusOrNoAdFeatureDetails
public static FeatureUtils.licenceDetails getPlusOrNoAdFeatureDetails()
isTrialLicence
public static boolean isTrialLicence(FeatureManager.Licence licence)
isTrial
public static boolean isTrial(FeatureManager.FeatureDetails fd)
getRemaining
public static long getRemaining()
hasFullBurn
public static boolean hasFullBurn()
- Returns: