/// <summary>
 /// Registers an event handler with this Virtual Button which will be called
 /// when a state changed is detected.
 /// Returns true on success. False otherwise.
 /// </summary>
 public bool UnregisterEventHandler(IVirtualButtonEventHandler eventHandler)
 {
     return mHandlers.Remove(eventHandler);
 }
Exemplo n.º 2
0
 // Registers an event handler with this Virtual Button which will be called
 // when a state changed is detected.
 // Returns true on success. False otherwise.
 public bool UnregisterEventHandler(IVirtualButtonEventHandler eventHandler)
 {
     return(mHandlers.Remove(eventHandler));
 }
 /// <summary>
 /// Registers an event handler with this Virtual Button which will be called
 /// when a state changed is detected.
 /// </summary>
 public void RegisterEventHandler(IVirtualButtonEventHandler eventHandler)
 {
     mHandlers.Add(eventHandler);
 }
Exemplo n.º 4
0
 // Registers an event handler with this Virtual Button which will be called
 // when a state changed is detected.
 public void RegisterEventHandler(IVirtualButtonEventHandler eventHandler)
 {
     mHandlers.Add(eventHandler);
 }