Example #1
0
 private static extern bool NCRegisterControllerConnectedCallback(NCControllerConnectedDelgate callback);
Example #2
0
 // Registers whatever delegate you pass in to be called whenever a new controller is connected to the device
 // Returns true if the delegate is successfully registered for callbacks
 public static bool RegisterControllerConnectedCallback(NCControllerConnectedDelgate del)
 {
     _connectedDelegateInstance = del;
     return(NCRegisterControllerConnectedCallback(del));
 }