DLCradleManagerGetProperty Method |
Retrieves the value of the specified property.
Namespace:
Com.Datalogic.Decode
Assembly:
datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0
(1.0.0.0)
Syntax
public virtual Java.Lang.Object GetProperty (int propertyId, Java.Lang.Object defaultValue);
Public Virtual Java.Lang.Object GetProperty (Integer propertyId, Java.Lang.Object defaultValue);
Parameters
- propertyId
- Type: System.Int32
The identifier of the property to retrieve, as defined in DLCradleManager.Properties . - defaultValue
- Type: Java.Lang.Object
The default value to return if the property is not found.
Return Value
Type: Java.Lang.Object
The value of the property, or the default value if the property is not found.
Remarks
Retrieves the value of the specified property.
This method fetches the value of the property identified by the given property ID, as defined in
the
DLCradleManager.Properties
class. If the property is not found or an error occurs, the default value
provided is returned.
[Android Documentation]
See Also