You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CULPlugin.h 880B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // CULPlugin.h
  3. //
  4. // Created by Nikolay Demyankov on 14.09.15.
  5. //
  6. #import <Foundation/Foundation.h>
  7. #import <Cordova/CDVPlugin.h>
  8. /**
  9. * Plugin main class.
  10. */
  11. @interface CULPlugin : CDVPlugin
  12. /**
  13. * Subscribe to event.
  14. *
  15. * @param command command from js side with event name and callback id.
  16. */
  17. - (void)jsSubscribeForEvent:(CDVInvokedUrlCommand *)command;
  18. /**
  19. * Unsubscribe from event.
  20. *
  21. * @param command command from js side with event name
  22. */
  23. - (void)jsUnsubscribeFromEvent:(CDVInvokedUrlCommand *)command;
  24. /**
  25. * Try to hanlde application launch when user clicked on the link.
  26. *
  27. * @param userActivity object with information about the application launch
  28. *
  29. * @return <code>true</code> - if this is a universal link and it is defined in config.xml; otherwise - <code>false</code>
  30. */
  31. - (BOOL)handleUserActivity:(NSUserActivity *)userActivity;
  32. @end