public class

LicenseResult

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

Class Overview

Class containing license activation/deactivation result data

Summary

Nested Classes
enum LicenseResult.Status Result status, either SUCCESS or FAILURE  
enum LicenseResult.Type Result type  
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
LicenseResult(String packageName, String status, int errorCode, LicenseResult.Type type, ArrayList<String> grantedPermissions, String licenseKey)
LicenseResult(String packageName, LicenseResult.Status status, int errorCode, LicenseResult.Type type, ArrayList<String> grantedPermissions, String licenseKey)
Public Methods
int getErrorCode()
ArrayList<String> getGrantedPermissions()
String getLicenseKey()
String getPackageName()
LicenseResult.Type getType()
boolean isActivation()
boolean isSuccess()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public LicenseResult (String packageName, String status, int errorCode, LicenseResult.Type type, ArrayList<String> grantedPermissions, String licenseKey)

Since: API level 36

public LicenseResult (String packageName, LicenseResult.Status status, int errorCode, LicenseResult.Type type, ArrayList<String> grantedPermissions, String licenseKey)

Since: API level 36

Public Methods

public int getErrorCode ()

Since: API level 36

public ArrayList<String> getGrantedPermissions ()

Since: API level 36

public String getLicenseKey ()

Since: API level 36

public String getPackageName ()

Since: API level 36

public LicenseResult.Type getType ()

Since: API level 36

public boolean isActivation ()

Since: API level 36

Returns

public boolean isSuccess ()

Since: API level 36

Returns