Sdílet prostřednictvím


UrlInterceptRegistry.RegisterHandler(IUrlInterceptHandler) Method

Definition

Register a new UrlInterceptHandler.

[Android.Runtime.Register("registerHandler", "(Landroid/webkit/UrlInterceptHandler;)Z", "")]
public static bool RegisterHandler (Android.Webkit.IUrlInterceptHandler? handler);
[<Android.Runtime.Register("registerHandler", "(Landroid/webkit/UrlInterceptHandler;)Z", "")>]
static member RegisterHandler : Android.Webkit.IUrlInterceptHandler -> bool

Parameters

handler
IUrlInterceptHandler

The new UrlInterceptHandler object

Returns

true if the handler was not previously registered.

Attributes

Remarks

Register a new UrlInterceptHandler. This handler will be called before any that were previously registered.

This member is deprecated. This class was intended to be used by Gears. Since Gears was deprecated, so is this class.

Java documentation for android.webkit.UrlInterceptRegistry.registerHandler(android.webkit.UrlInterceptHandler).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to