Since: API level 19
public class

SdpCreationParam

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.sdp.core.SdpCreationParam

Deprecated in API level 33

Class Overview

SdpEngine creation parameters.

Since
API level 19
KNOX 2.6

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
SdpCreationParam(String alias, int flags, ArrayList<SdpDomain> privilegedApps)
Deprecated in API level 33
Public Methods
String getAlias()
Deprecated in API level 33
int getFlags()
Deprecated in API level 33
ArrayList<SdpDomain> getPrivilegedApps()
Deprecated in API level 33
String toString()
Deprecated in API level 33
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public SdpCreationParam (String alias, int flags, ArrayList<SdpDomain> privilegedApps)

Since: API level 19

Deprecated in API level 33

Construct a new SdpCreationParam object with the given parameters.

Usage:

        An application developer can use this constructor to create an instance of the object.


      SdpCreationParam sdpCreationParam = new SdpCreationParam(alias, flags, privilegedApps);

 

Parameters
alias SdpEngine alias.
flags SdpEngine flags.
privilegedApps List of applications privileged to perform SDP operations(i.e. lock/unlock SdpEngine).
Since
API level 19
KNOX 2.6
Multiuser Environment
User Scope

Public Methods

public String getAlias ()

Since: API level 19

Deprecated in API level 33

Accessor for SdpEngine alias.

Returns
Since
API level 19
KNOX 2.6
Multiuser Environment
User Scope

public int getFlags ()

Since: API level 19

Deprecated in API level 33

Accessor for SdpEngine flags.

Returns
Since
API level 19
KNOX 2.6
Multiuser Environment
User Scope

public ArrayList<SdpDomain> getPrivilegedApps ()

Since: API level 19

Deprecated in API level 33

Accessor for privileged applications allowed to create SdpEngine instance.

Returns
Since
API level 19
KNOX 2.6
Multiuser Environment
User Scope
See Also

public String toString ()

Since: API level

Deprecated in API level 33

API represents SpdCreationParam object in a String format.

Usage:

        An application developer can use this API to get the SdpCreationParam object in a String format.


      SdpCreationParam sdpCreationParam = new SdpCreationParam(alias, flags, privilegedApps);

      Log.d(TAG, "SdpCreationParam : " + sdpCreationParam.toString());

 

Returns
  • A String representation of the SdpCreationParam object.
Since
API level 19
KNOX 2.6
Multiuser Environment
User Scope