Since: API level 6
public static class

LockscreenOverlay.LSOEmergencyPhoneInfo

extends Object
java.lang.Object
   ↳ com.samsung.android.knox.lockscreen.LockscreenOverlay.LSOEmergencyPhoneInfo

Class Overview

This class defines the Lock Screen Overlay Emergency Phone information and is given as an input parameter when configuring the lock screen enterprise emergency phone number.

Since
API level 6
MDM 4.0

Summary

Fields
public int bottomPosition Image bottom position (in percent) with respect to lock screen.
public int gravity Emergency phone call Widget alignment option.
public String icon Icon file location.
public String phoneNumber Enterprise Emergency Phone Number.
public boolean showBackground Show/hide background.
public boolean showDefaultText Show/Hide default text when no text is set.
public String text Text to be shown.
public int topPosition Image starting/top position (in percent) with respect to lock screen.
Public Constructors
LSOEmergencyPhoneInfo(String phoneNumber)
Constructor with only phoneNumber as parameter.
LSOEmergencyPhoneInfo(String phoneNumber, String iconFilepath)
Overloaded Constructor with phone number and image file path as parameter.
LSOEmergencyPhoneInfo(String phoneNumber, int topPos, String iconFilepath, int bottomPos)
Overloaded Constructor with phone number, top position, bottom position, and image file path as parameter.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public int bottomPosition

Since: API level 6

Image bottom position (in percent) with respect to lock screen.

Since
API level 6
MDM 4.0

public int gravity

Since: API level 6

Emergency phone call Widget alignment option.

Gravity.TOP/Gravity.BOTTOM/Gravity.CENTER/Gravity.LEFT/Gravity.RIGHT

Default is Gravity.CENTER.

See android.view.Gravity constants for different values.

Since
API level 6
MDM 4.0

public String icon

Since: API level 6

Icon file location.

Since
API level 6
MDM 4.0

public String phoneNumber

Since: API level 6

Enterprise Emergency Phone Number.

Since
API level 6
MDM 4.0

public boolean showBackground

Since: API level 6

Show/hide background. true to show background, false to hide background. The default is true.

Since
API level 6
MDM 4.0

public boolean showDefaultText

Since: API level 6

Show/Hide default text when no text is set. If the administrator does not provide any text, default text is displayed. If this property is set to false, default text is not displayed. The default is false.

Since
API level 6
MDM 4.0

public String text

Since: API level 6

Text to be shown.

Since
API level 6
MDM 4.0

public int topPosition

Since: API level 6

Image starting/top position (in percent) with respect to lock screen.

Since
API level 6
MDM 4.0

Public Constructors

public LSOEmergencyPhoneInfo (String phoneNumber)

Since: API level 6

Constructor with only phoneNumber as parameter. This constructor initializes remaining class members to its default value.

Parameters
phoneNumber Enterprise emergency phone number. The value of this parameter is assigned to phoneNumber.
Since
API level 6
MDM 4.0
Multiuser Environment
Global Scope

public LSOEmergencyPhoneInfo (String phoneNumber, String iconFilepath)

Since: API level 6

Overloaded Constructor with phone number and image file path as parameter. This constructor initializes remaining class members to its default value.

Parameters
phoneNumber Enterprise emergency phone number. The value of this parameter is assigned to phoneNumber.
iconFilepath Image file path. The value of this parameter is assigned to icon.
Since
API level 6
MDM 4.0
Multiuser Environment
Global Scope

public LSOEmergencyPhoneInfo (String phoneNumber, int topPos, String iconFilepath, int bottomPos)

Since: API level 6

Overloaded Constructor with phone number, top position, bottom position, and image file path as parameter. This constructor initializes remaining class members to its default value.

Parameters
phoneNumber Enterprise emergency phone number. The value of this parameter is assigned to phoneNumber.
topPos Image top position (in percent). The value of this parameter is assigned to topPosition.
iconFilepath Image file path. The value of this parameter is assigned to icon.
bottomPos Image bottom position (in percent). The value of this parameter is assigned to bottomPosition.
Since
API level 6
MDM 4.0
Multiuser Environment
Global Scope