Since: API level 17
public class

AppIdentity

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

Class Overview

Generic class used for application package unique identity.

Since
API level 17
MDM 5.5

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
AppIdentity()
AppIdentity(String packageName, String signature)
Public Methods
String getPackageName()
Get package name of the application
String getSignature()
Get signature of the application
void setPackageName(String packageName)
Set package name of the application
void setSignature(String signature)
Set signature of the application


Note: Application signature (one of the public keys application is signed with) is optional by default unless explicitly mandated by respective KNOX feature who uses this class.

[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public AppIdentity ()

Since: API level 17

Since
API level 17
MDM 5.5

public AppIdentity (String packageName, String signature)

Since: API level 17

Since
API level 17
MDM 5.5

Public Methods

public String getPackageName ()

Since: API level 17

Get package name of the application

Since
API level 17
MDM 5.5

public String getSignature ()

Since: API level 17

Get signature of the application

Since
API level 17
MDM 5.5

public void setPackageName (String packageName)

Since: API level 17

Set package name of the application

Since
API level 17
MDM 5.5

public void setSignature (String signature)

Since: API level 17

Set signature of the application


Note: Application signature (one of the public keys application is signed with) is optional by default unless explicitly mandated by respective KNOX feature who uses this class. We recommend to pass application signature for application's unique identity.

Since
API level 17
MDM 5.5