AppManagerSetStatusBarDisabled Method |
Call this method to disable or enable the status bar.
Namespace:
Com.Datalogic.Device.App
Assembly:
datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic virtual int SetStatusBarDisabled(
bool disabled
)
Public Overridable Function SetStatusBarDisabled (
disabled As Boolean
) As Integer
Parameters
- disabled
- Type: SystemBoolean
- boolean True disables the status bar, false reenables it.
Return Value
Type:
Int32intSuccess in case of success,
otherwise a possible error code, matching one of the
AppManagerException error constants.
Exceptions
RemarksCall this method to disable or enable the status bar.
Disabling the status bar blocks notifications and quick settings.
[Android Documentation]
See Also