Click or drag to resize

PropertyID.ScreensaverComponent Field

Administrative Settings: For devices managed by an organization, administrative policies might require restricting the user from selecting the app for the screensaver.

Namespace: Com.Datalogic.Device.Configuration
Assembly: datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public const Int32 ScreensaverComponent = "value"

Field Value

Type: Int32
Remarks
Administrative Settings: For devices managed by an organization, administrative policies might require restricting the user from selecting the app for the screensaver.

This property allows the user to select the app that will manage the screensaver. The value of the property should be a string in the format `package_name/activity_name`, where `package_name` is the screensaver app and `activity_name` is the name of the specific app activity that manages the screensaver. For example, if `SCREENSAVER_COMPONENT="com.google.android.deskclock/com.android.deskclock.Screensaver"`, the clock screensaver will be launched. To use `Datalogic Screensaver` set `SCREENSAVER_COMPONENT="com.datalogic.settings.datalogicscreensaver/com.datalogic.settings.datalogicscreensaver.ScreensaverService"` The screensaver app can also be selected under `Display -> Screen saver` in Android settings. Any app can be used to manage the screensaver if it extends a `DreamService`.

For more information, refer to the Android documentation: DreamService.

For enabling or disabling the screensaver, please refer to the parameter SCREENSAVER_ENABLED. To change the policy to start the screensaver, please refer to the parameter SCREENSAVER_POLICY. This parameter can be used with SCREENSAVER_SETTING_DIMMED to prevent the user from changing the configuration of this feature.

The class of the property is TextProperty.

[Android Documentation]

See Also