Since: API level 6
public static class

LockscreenOverlay.LSOImage

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

Class Overview

This class defines the Lock Screen Overlay image and is given as an input parameter when configuring Lockscreen Overlay.

Since
API level 6
MDM 4.0

Summary

Fields
public int bottomPosition Image bottom position (in percent) with respect to lock screen.
public String filePath Image file location.
public ImageView.ScaleType scaleType Image scale type (optional).
public int topPosition Image starting/top position (in percent) with respect to lock screen.
Public Constructors
LSOImage()
Default Constructor.
LSOImage(String imagePath)
Overloaded Constructor with image file path as parameter.
LSOImage(int topPos, String imagePath, int bottomPos)
Overloaded Constructor with top position, bottom position, and image file path as parameter.
LSOImage(int topPos, String imagePath, int bottomPos, ImageView.ScaleType scaleType)
Overloaded Constructor with top position, bottom position, scale type 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 String filePath

Since: API level 6

Image file location.

Since
API level 6
MDM 4.0

public ImageView.ScaleType scaleType

Since: API level 6

Image scale type (optional). Default value is ScaleType.FIT_CENTER.

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 LSOImage ()

Since: API level 6

Default Constructor. This constructor initializes top position, bottom position and scale type to its default value.

Since
API level 6
MDM 4.0
Multiuser Environment
Global Scope

public LSOImage (String imagePath)

Since: API level 6

Overloaded Constructor with image file path as parameter. This constructor initializes top position, bottom position, and scale type to its default value.

Parameters
imagePath Image file path. The value of this parameter is assigned to filePath.
Since
API level 6
MDM 4.0
Multiuser Environment
Global Scope

public LSOImage (int topPos, String imagePath, int bottomPos)

Since: API level 6

Overloaded Constructor with top position, bottom position, and image file path as parameter. This constructor initializes scale type to its default value.

Parameters
topPos Image top position (in percent). The value of this parameter is assigned to topPosition.
imagePath Image file path. The value of this parameter is assigned to filePath.
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

public LSOImage (int topPos, String imagePath, int bottomPos, ImageView.ScaleType scaleType)

Since: API level 6

Overloaded Constructor with top position, bottom position, scale type and image file path as parameter.

Parameters
topPos Image top position (in percent). The value of this parameter is assigned to topPosition.
imagePath Image file path. The value of this parameter is assigned to filePath.
bottomPos Image bottom position (in percent). The value of this parameter is assigned to bottomPosition.
scaleType Image scaling option. The value of this parameter is assigned to scaleType.
Since
API level 6
MDM 4.0
Multiuser Environment
Global Scope