Table of Contents

Class AndroidWebViewMainActivity

Namespace
VpnHood.AppUi.Hosting.WebView.Android
Assembly
VpnHood.AppUi.Hosting.WebView.Android.dll

Represents the web view UI's main activity on Android: a head derives from it, names the access keys it takes, and gets the web UI.

public class AndroidWebViewMainActivity : AndroidAppMainActivity, IComponentCallbacks2, IComponentCallbacks, KeyEvent.ICallback, LayoutInflater.IFactory2, LayoutInflater.IFactory, View.IOnCreateContextMenuListener, Window.ICallback, IJavaObject, IJavaPeerable, IDisposable, IActivityEvent
Inheritance
AndroidWebViewMainActivity
Implements
Inherited Members

Remarks

The app must have started with its local web host, which needs the app's web content, as the page comes from it.

Methods

CreateActivityOptions()

Creates the activity's options: the access-key schemes and file types a head takes, and the system web view's version check. The default takes no access keys.

protected virtual AndroidWebViewMainActivityOptions CreateActivityOptions()

Returns

AndroidWebViewMainActivityOptions

The options.

CreateMainActivityHandler()

Creates the handler that does the activity's work: the web UI's, with the activity's options.

protected override AndroidAppMainActivityHandler CreateMainActivityHandler()

Returns

AndroidAppMainActivityHandler

The handler.