WebHitTestResult.contextIsMedia

Check whether there is a media element at the hit test position.

Checks whether webkit.types.HitTestResultContext.Media flag is present in the context flags.

class WebHitTestResult
bool
contextIsMedia
()

Return Value

Type: bool

true if the hit test covers a media element or false otherwise.