Beispiel #1
0
 /// <summary>
 /// Adds a custom handler to be called from any webview of the application.
 /// </summary>
 /// <param name="handler">The handler instance.</param>
 public static void AddGlobalHandler(object handler)
 {
     WebviewBridge.AddGlobalHandler(handler);
 }
Beispiel #2
0
 /// <summary>
 /// Adds a custom handler to be called from any webview of the application.
 /// </summary>
 /// <typeparam name="T">The handler type.</typeparam>
 public static void AddGlobalHandler <T>()
 {
     WebviewBridge.AddGlobalHandler <T>();
 }