java.lang.Object
This is set during SdlManager instantiation.
public static final int DISPLAY_MODE_NEVER
public static final int DISPLAY_MODE_REQUIRED_ONLY
public static final int DISPLAY_MODE_OPTIONAL_OR_REQUIRED
public static final int DISPLAY_MODE_ALWAYS
public LockScreenConfig()
Set the resource int of the background color. Colors should define colors in your Colors.xml file
public void setBackgroundColor(int resourceColor)
Gets the int reference to the custom lock screen background color
public int getBackgroundColor()
int of the drawable icon.
public void setAppIcon(int appIconInt)
Gets the resource reference of the icon to be displayed on the lock screen
public int getAppIcon()
Sets the reference to the custom layout to be used for the lock screen
If set, the color and icon setters will be ignored
public void setCustomView(int customViewInt)
Gets the reference to the custom lockscreen layout to be used
public int getCustomView()
Whether or not to show the device's logo on the default lock screen
The logo will come from the connected hardware, if set by the manufacturer
If using a Custom View, this will be ignored.
public void showDeviceLogo(boolean deviceLogo)
Get whether or not the device's Logo is shown on the default lock screen
The logo will come from the connected hardware, if set by the manufacturer
public boolean isDeviceLogoEnabled()
Set the displayMode to be used
public void setDisplayMode(int displayMode)
Get the displayMode to be used
public int getDisplayMode()
If true, then the lock screen can be dismissed with a downward swipe on compatible head units. Requires a connection of SDL 6.0+ and the head unit to enable the feature. Defaults to true.
public void enableDismissGesture(boolean enableDismissGesture)
If true, then the lock screen can be dismissed with a downward swipe on compatible head units. Requires a connection of SDL 6.0+ and the head unit to enable the feature. Defaults to true.
public boolean enableDismissGesture()
From Class | Methods |
---|---|
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |