Coherent UI for .NET  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Coherent.UI.ContextListener Class Reference

Abstract interface to listen to Context-related events. More...

Inherits IDisposable.

Inherited by Coherent.UI.Mono.Gtk.DefaultContextListener, and Coherent.UI.Windows.DefaultContextListenerBase.

Public Member Functions

virtual void ContextReady ()
 Called when the context is fully initialized. Creating Views is now permitted. More...
 
virtual void OnError (ContextError arg0)
 Called when an error in the context occurs. More...
 
virtual bool OnDownloadStarted (Download downloadItem)
 Called when the context tries to start a new download. Return true to allow for the download to begin or false to cancel it. More...
 
virtual void OnDownloadComplete (Download downloadItem, System.IntPtr data, uint size)
 Called when a download is complete. More...
 
virtual void OnDownloadFailed (Download downloadItem, DownloadErrorType error)
 Called when a download has failed. More...
 
virtual void OnSubscriptionCheckDone (SubscriptionError arg0)
 Called when the check for the subscription version of the product is completed. More...
 
virtual void OnCookiesSaved (string cookiesResource)
 Called when the write request for the cookies resource was completed. More...
 

Detailed Description

Abstract interface to listen to Context-related events.

Member Function Documentation

virtual void Coherent.UI.ContextListener.ContextReady ( )
inlinevirtual

Called when the context is fully initialized. Creating Views is now permitted.

virtual void Coherent.UI.ContextListener.OnCookiesSaved ( string  cookiesResource)
inlinevirtual

Called when the write request for the cookies resource was completed.

virtual void Coherent.UI.ContextListener.OnDownloadComplete ( Download  downloadItem,
System.IntPtr  data,
uint  size 
)
inlinevirtual

Called when a download is complete.

virtual void Coherent.UI.ContextListener.OnDownloadFailed ( Download  downloadItem,
DownloadErrorType  error 
)
inlinevirtual

Called when a download has failed.

virtual bool Coherent.UI.ContextListener.OnDownloadStarted ( Download  downloadItem)
inlinevirtual

Called when the context tries to start a new download. Return true to allow for the download to begin or false to cancel it.

virtual void Coherent.UI.ContextListener.OnError ( ContextError  arg0)
inlinevirtual

Called when an error in the context occurs.

virtual void Coherent.UI.ContextListener.OnSubscriptionCheckDone ( SubscriptionError  arg0)
inlinevirtual

Called when the check for the subscription version of the product is completed.