Table of Contents

Class AppForegroundListener

Namespace
Java.Awt.DesktopNs
Assembly
MASES.JNet.dll
public class AppForegroundListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAppForegroundListener
Inheritance
AppForegroundListener
Implements
Derived
Inherited Members
Extension Methods

Constructors

AppForegroundListener()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public AppForegroundListener()

AppForegroundListener(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 AppForegroundListener(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnAppMovedToBackground

public Action<AppForegroundEvent> OnAppMovedToBackground { get; set; }

Property Value

Action<AppForegroundEvent>

Remarks

If OnAppMovedToBackground has a value it takes precedence over corresponding class method

OnAppRaisedToForeground

public Action<AppForegroundEvent> OnAppRaisedToForeground { get; set; }

Property Value

Action<AppForegroundEvent>

Remarks

If OnAppRaisedToForeground has a value it takes precedence over corresponding class method

Methods

AppMovedToBackground(AppForegroundEvent)

public virtual void AppMovedToBackground(AppForegroundEvent arg0)

Parameters

arg0 AppForegroundEvent

AppForegroundEvent

AppRaisedToForeground(AppForegroundEvent)

public virtual void AppRaisedToForeground(AppForegroundEvent arg0)

Parameters

arg0 AppForegroundEvent

AppForegroundEvent

InitializeHandlers()

Handlers initializer for AppForegroundListener

protected virtual void InitializeHandlers()