GeolocationPermissionShowPromptResponse class

Class used by the host application to set the Geolocation permission state for an origin during the WebView.androidOnGeolocationPermissionsShowPrompt event.

Constructors

GeolocationPermissionShowPromptResponse({String? origin, bool? allow, bool? retain})

Properties

allow bool?
Whether or not the origin should be allowed to use the Geolocation API.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
origin String?
The origin for which permissions are set.
getter/setter pair
retain bool?
Whether the permission should be retained beyond the lifetime of a page currently being displayed by a WebView
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited