public class

ActivationInfo

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.license.ActivationInfo

Class Overview

This class provides information about license activations.

Since
API level 33
KNOX 3.7

Summary

Nested Classes
enum ActivationInfo.State Enum representing activation state. 
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
ActivationInfo()
Public Methods
Date getActivationDate()
String getMaskedLicenseKey()
String getPackageName()
ActivationInfo.State getState()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public ActivationInfo ()

Since: API level 33

Public Methods

public Date getActivationDate ()

Since: API level 33

Returns
  • Returns the Date the license activation has occurred in UTC timezone.
    If the package/license key combination is already active in the servers but not in the device - after a factory reset for example - this will return the Date the first activation occurred.
Since
API level 33
KNOX 3.7

public String getMaskedLicenseKey ()

Since: API level 33

Returns
  • Returns the license key masked as KLM12-*****-*****-*****-*****-12345
Since
API level 33
KNOX 3.7

public String getPackageName ()

Since: API level 33

Returns
  • Returns the package name of given activation
Since
API level 33
KNOX 3.7

public ActivationInfo.State getState ()

Since: API level 33

Returns
Since
API level 33
KNOX 3.7