webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WTR::GeolocationProviderMock Class Reference

#include <GeolocationProviderMock.h>

Public Member Functions

 GeolocationProviderMock (WKContextRef)
 
 ~GeolocationProviderMock ()
 
void setPosition (double latitude, double longitude, double accuracy, bool providesAltitude, double altitude, bool providesAltitudeAccuracy, double altitudeAccuracy, bool providesHeading, double heading, bool providesSpeed, double speed)
 
void setPositionUnavailableError (WKStringRef errorMessage)
 
void startUpdating (WKGeolocationManagerRef)
 
void stopUpdating (WKGeolocationManagerRef)
 
bool isActive () const
 

Constructor & Destructor Documentation

◆ GeolocationProviderMock()

WTR::GeolocationProviderMock::GeolocationProviderMock ( WKContextRef  context)

◆ ~GeolocationProviderMock()

WTR::GeolocationProviderMock::~GeolocationProviderMock ( )

Member Function Documentation

◆ isActive()

bool WTR::GeolocationProviderMock::isActive ( ) const
inline

◆ setPosition()

void WTR::GeolocationProviderMock::setPosition ( double  latitude,
double  longitude,
double  accuracy,
bool  providesAltitude,
double  altitude,
bool  providesAltitudeAccuracy,
double  altitudeAccuracy,
bool  providesHeading,
double  heading,
bool  providesSpeed,
double  speed 
)

◆ setPositionUnavailableError()

void WTR::GeolocationProviderMock::setPositionUnavailableError ( WKStringRef  errorMessage)

◆ startUpdating()

void WTR::GeolocationProviderMock::startUpdating ( WKGeolocationManagerRef  geolocationManager)

◆ stopUpdating()

void WTR::GeolocationProviderMock::stopUpdating ( WKGeolocationManagerRef  geolocationManager)

The documentation for this class was generated from the following files: