gi-webkit2-4.0.11: WebKit2 bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Functions

Contents

Description

 

Synopsis

Methods

getMajorVersion

getMajorVersion Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Word32

Returns: the major version number of the WebKit library

Returns the major version number of the WebKit library. (e.g. in WebKit version 1.8.3 this is 1.)

This function is in the library, so it represents the WebKit library your code is running against. Contrast with the MAJOR_VERSION macro, which represents the major version of the WebKit headers you have included when compiling your code.

getMicroVersion

getMicroVersion Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Word32

Returns: the micro version number of the WebKit library

Returns the micro version number of the WebKit library. (e.g. in WebKit version 1.8.3 this is 3.)

This function is in the library, so it represents the WebKit library your code is running against. Contrast with the MICRO_VERSION macro, which represents the micro version of the WebKit headers you have included when compiling your code.

getMinorVersion

getMinorVersion Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Word32

Returns: the minor version number of the WebKit library

Returns the minor version number of the WebKit library. (e.g. in WebKit version 1.8.3 this is 8.)

This function is in the library, so it represents the WebKit library your code is running against. Contrast with the MINOR_VERSION macro, which represents the minor version of the WebKit headers you have included when compiling your code.

userMediaPermissionIsForAudioDevice

userMediaPermissionIsForAudioDevice Source #

Arguments

:: (HasCallStack, MonadIO m, IsUserMediaPermissionRequest a) 
=> a

request: a UserMediaPermissionRequest

-> m Bool

Returns: True if access to an audio device was requested.

No description available in the introspection data.

Since: 2.8

userMediaPermissionIsForVideoDevice

userMediaPermissionIsForVideoDevice Source #

Arguments

:: (HasCallStack, MonadIO m, IsUserMediaPermissionRequest a) 
=> a

request: a UserMediaPermissionRequest

-> m Bool

Returns: True if access to a video device was requested.

No description available in the introspection data.

Since: 2.8