Since: API level 28
public class

NetworkAnalyticsConstants.BroadcastActions

extends Object
java.lang.Object
   ↳ com.samsung.android.knox.net.nap.NetworkAnalyticsConstants.BroadcastActions

Class Overview

Constants to represent the messages which are broadcasted to the NPA Clients by the framework regarding NPA Status.

Usage
The Constants are applicable only for NPA client app

Summary

Constants
String ACTION_NPA_STATUS Intent Action for which the NPA clients needs to register for to get the NPA Status from the framework;
String EXTRA_PROFILE_NAME Used to indicate for which profile the broadcast message has been sent;
String EXTRA_REGISTRATION_STATUS Extra used in the response from a BroadcastReceiver that handles ACTION_NPA_STATUS
int PROFILE_REGISTERED The Value which is send for the "EXTRA_REGISTRATION_STATUS" extra indicating that a profile has been registered by the admin; The NPA Clients should start collecting data-points after recieving the broadcast message;
int PROFILE_UNREGISTERED The Value which is send for the "EXTRA_REGISTRATION_STATUS" extra indicating that a profile has been unregistered by the admin; The Framework will stop collecting data-points once the profile has been unregistered by the admin; No Action is needed by NPA clients for the broadcasted message; It is just to inform the clients regarding the status;
Public Constructors
BroadcastActions()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ACTION_NPA_STATUS

Since: API level 28

Intent Action for which the NPA clients needs to register for to get the NPA Status from the framework;

Since
API level 24
KNOX 3.0
Constant Value: "com.samsung.android.knox.intent.action.NPA_STATUS"

public static final String EXTRA_PROFILE_NAME

Since: API level 28

Used to indicate for which profile the broadcast message has been sent;

Since
API level 24
KNOX 3.0
Constant Value: "com.samsung.android.knox.intent.extra.PROFILE_NAME"

public static final String EXTRA_REGISTRATION_STATUS

Since: API level 28

Extra used in the response from a BroadcastReceiver that handles ACTION_NPA_STATUS

Since
API level 24
KNOX 3.0
Constant Value: "com.samsung.android.knox.intent.extra.REGISTRATION_STATUS"

public static final int PROFILE_REGISTERED

Since: API level 28

The Value which is send for the "EXTRA_REGISTRATION_STATUS" extra indicating that a profile has been registered by the admin; The NPA Clients should start collecting data-points after recieving the broadcast message;

Since
API level 24
KNOX 3.0
Constant Value: 0 (0x00000000)

public static final int PROFILE_UNREGISTERED

Since: API level 28

The Value which is send for the "EXTRA_REGISTRATION_STATUS" extra indicating that a profile has been unregistered by the admin; The Framework will stop collecting data-points once the profile has been unregistered by the admin; No Action is needed by NPA clients for the broadcasted message; It is just to inform the clients regarding the status;

Since
API level 24
KNOX 3.0
Constant Value: 1 (0x00000001)

Public Constructors

public BroadcastActions ()

Since: API level 28