THYFMXNonVisualPlugin

Overview

THYFMXNonVisualPlugin is the base class for Hydra FMX non-visual plugins. You will use this class as a base for your own non-visual plugins, please refere to this article for more information about non-visual plugins.

Location


 

CrossPlatformHost  protected    (declared in THYPlugin)

Reference to an instance of a cross platform host.

property CrossPlatformHost: IHYCrossPlatformHost read write

Host

The reference to the plugin host interface.

property Host: IHYFMXHost read write

NewInstance  override    (declared in THYPlugin)

Allocates memory for an instance of an object type and returns a pointer to that new instance.

class function NewInstance: TObject

OnPause    (declared in THYNonVisualPlugin)

Gets or sets event handler that reacts on Pause calls.

property OnPause: TNotifyEvent read write

OnPause

Gets or sets event handler that reacts on Pause calls.

property OnPause:

OnResume    (declared in THYNonVisualPlugin)

Gets or sets event handler that reacts on Resume calls.

property OnResume: TNotifyEvent read write

OnResume

Gets or sets event handler that reacts on Resume calls.

property OnResume:

OnSetHost

Gets or sets event handler that fired whenever reference to a host changed.

property OnSetHost: THYHostSetEvent read write
delegate: procedure OnSetHost(const Sender: TObject; const aHost: IHYFMXHost)

OnStart    (declared in THYNonVisualPlugin)

Gets or sets event handler that reacts on Start calls.

property OnStart: TNotifyEvent read write

OnStart

Gets or sets event handler that reacts on Start calls.

property OnStart:

OnStop    (declared in THYNonVisualPlugin)

Gets or sets event handler that reacts on Stop calls.

property OnStop: TNotifyEvent read write

OnStop

Gets or sets event handler that reacts on Stop calls.

property OnStop:

Pause  protected safecall    (declared in THYNonVisualPlugin)

Pauses executing the non-visual plugin. Call to this method triggers OnPause event.

procedure Pause

Resume  protected safecall    (declared in THYNonVisualPlugin)

Resumes executing the non-visual plugin. Call to this method triggers OnResume event.

procedure Resume

Start  protected safecall    (declared in THYNonVisualPlugin)

Starts executing the non-visual plugin. Call to this method triggers OnStart event.

procedure Start

Stop  protected safecall    (declared in THYNonVisualPlugin)

Stops executing the non-visual plugin. Call to this method triggers OnStop event.

procedure Stop

 

CrossPlatformHost  protected    (declared in THYPlugin)

Reference to an instance of a cross platform host.

property CrossPlatformHost: IHYCrossPlatformHost read write

Host

The reference to the plugin host interface.

property Host: IHYFMXHost read write

OnPause

Gets or sets event handler that reacts on Pause calls.

property OnPause:

OnResume

Gets or sets event handler that reacts on Resume calls.

property OnResume:

OnStart

Gets or sets event handler that reacts on Start calls.

property OnStart:

OnStop

Gets or sets event handler that reacts on Stop calls.

property OnStop:

 

NewInstance  override    (declared in THYPlugin)

Allocates memory for an instance of an object type and returns a pointer to that new instance.

class function NewInstance: TObject

 

Pause  protected safecall    (declared in THYNonVisualPlugin)

Pauses executing the non-visual plugin. Call to this method triggers OnPause event.

procedure Pause

Resume  protected safecall    (declared in THYNonVisualPlugin)

Resumes executing the non-visual plugin. Call to this method triggers OnResume event.

procedure Resume

Start  protected safecall    (declared in THYNonVisualPlugin)

Starts executing the non-visual plugin. Call to this method triggers OnStart event.

procedure Start

Stop  protected safecall    (declared in THYNonVisualPlugin)

Stops executing the non-visual plugin. Call to this method triggers OnStop event.

procedure Stop

 

OnPause    (declared in THYNonVisualPlugin)

Gets or sets event handler that reacts on Pause calls.

property OnPause: TNotifyEvent read write

OnResume    (declared in THYNonVisualPlugin)

Gets or sets event handler that reacts on Resume calls.

property OnResume: TNotifyEvent read write

OnSetHost

Gets or sets event handler that fired whenever reference to a host changed.

property OnSetHost: THYHostSetEvent read write
delegate: procedure OnSetHost(const Sender: TObject; const aHost: IHYFMXHost)

OnStart    (declared in THYNonVisualPlugin)

Gets or sets event handler that reacts on Start calls.

property OnStart: TNotifyEvent read write

OnStop    (declared in THYNonVisualPlugin)

Gets or sets event handler that reacts on Stop calls.

property OnStop: TNotifyEvent read write