Class SystemSleepListener
public class SystemSleepListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISystemSleepListener
- Inheritance
-
SystemSleepListener
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
SystemSleepListener()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public SystemSleepListener()
SystemSleepListener(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public SystemSleepListener(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
OnSystemAboutToSleep
public Action<SystemSleepEvent> OnSystemAboutToSleep { get; set; }
Property Value
Remarks
If OnSystemAboutToSleep has a value it takes precedence over corresponding class method
OnSystemAwoke
public Action<SystemSleepEvent> OnSystemAwoke { get; set; }
Property Value
Remarks
If OnSystemAwoke has a value it takes precedence over corresponding class method
Methods
InitializeHandlers()
Handlers initializer for SystemSleepListener
protected virtual void InitializeHandlers()
SystemAboutToSleep(SystemSleepEvent)
public virtual void SystemAboutToSleep(SystemSleepEvent arg0)
Parameters
SystemAwoke(SystemSleepEvent)
public virtual void SystemAwoke(SystemSleepEvent arg0)