Class AppForegroundListener
public class AppForegroundListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, 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(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AppForegroundListener(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
OnAppMovedToBackground
public Action<AppForegroundEvent> OnAppMovedToBackground { get; set; }
Property Value
Remarks
If OnAppMovedToBackground has a value it takes precedence over corresponding class method
OnAppRaisedToForeground
public Action<AppForegroundEvent> OnAppRaisedToForeground { get; set; }
Property Value
Remarks
If OnAppRaisedToForeground has a value it takes precedence over corresponding class method
Methods
AppMovedToBackground(AppForegroundEvent)
public virtual void AppMovedToBackground(AppForegroundEvent arg0)
Parameters
AppRaisedToForeground(AppForegroundEvent)
public virtual void AppRaisedToForeground(AppForegroundEvent arg0)
Parameters
InitializeHandlers()
Handlers initializer for AppForegroundListener
protected virtual void InitializeHandlers()