Datalogic .NET SDK
GetBatterySuspendTimeout (Method)

 

Syntax

 

   public static Int32 GetBatterySuspendTimeout();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Gets the time before automatic device suspension occurs when running on battery power.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

-

-

 

 

 

 

[returns]

Int32

 

 

The value of the timeout (in seconds) or 0 if infinite in case of success.

[on error]

-1

 

In case of failure, -1 is returned.

 

 

 

 

See Also

SetBatterySuspendTimeout, GetACSuspendTimeout, SetACSuspendTimeout

 

Copyright © Datalogic ADC. All Right Reserved