Click or drag to resize

ProfileManagerLoadProfile Method

Applies the given profile.

Namespace:  Com.Datalogic.Device.Configuration
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual int LoadProfile(
	string name
)

Parameters

name
Type: SystemString
- String name of the profile file to be loaded.

Return Value

Type: Int32
int Success in case of success, otherwise a possible error code, matching one of the ConfigException error constants.
Exceptions
ExceptionCondition
ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

Applies the given profile. If there is already a manually loaded profile the method fails. The properties listed in the profile are set to the values specified in the profile. The changes done to the configuration loading the profile are persistent to the reboot of the device. To unload the profile the method UnloadProfile

must be invoked.

[Android Documentation]

See Also