Class License


  • public class License
    extends java.lang.Object
    Represents a granted license (steam3 subscription) for one or more games.
    • Constructor Detail

      • License

        public License​(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver.CMsgClientLicenseList.License license)
    • Method Detail

      • getPackageID

        public int getPackageID()
        Returns:
        the package ID used to identify the license.
      • getLastChangeNumber

        public int getLastChangeNumber()
        Returns:
        the last change number for this license.
      • getTimeCreated

        public java.util.Date getTimeCreated()
        Returns:
        the time the license was created.
      • getTimeNextProcess

        public java.util.Date getTimeNextProcess()
        Returns:
        the next process time for the license.
      • getMinuteLimit

        public int getMinuteLimit()
        Returns:
        the minute limit of the license.
      • getMinutesUsed

        public int getMinutesUsed()
        Returns:
        the minutes used of the license.
      • getPaymentMethod

        public EPaymentMethod getPaymentMethod()
        Returns:
        the payment method used when the license was created.
      • getLicenseFlags

        public java.util.EnumSet<ELicenseFlags> getLicenseFlags()
        Returns:
        the license flags.
      • getPurchaseCode

        public java.lang.String getPurchaseCode()
        Returns:
        the two-letter country code where the license was purchased.
      • getLicenseType

        public ELicenseType getLicenseType()
        Returns:
        the type of the license.
      • getTerritoryCode

        public int getTerritoryCode()
        Returns:
        the territory code of the license.
      • getAccessToken

        public long getAccessToken()
        Returns:
        the PICS access token for this package.
      • getOwnerAccountID

        public int getOwnerAccountID()
        Returns:
        the owner account id of the license.
      • getMasterPackageID

        public int getMasterPackageID()
        Returns:
        the master package id.