Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type error = private Ojs.t
val message : error -> string
val code : error -> error_type
val name : error -> string
type status = private Ojs.t
val authorized : status -> bool
val denied : status -> bool
val restricted : status -> bool
val prepared : status -> bool
val scanning : status -> bool
val previewing : status -> bool
val webview_background_is_transparent : status -> bool
val light_enabled : status -> bool
val can_open_settings : status -> bool
val can_enable_light : status -> bool
val scan : (error option -> string -> unit) -> unit
val cancel_scan : (status -> unit) -> unit
val show : (status -> unit) -> unit
val hide : (status -> unit) -> unit
val pause_preview : (status -> unit) -> unit
val resume_preview : (status -> unit) -> unit
val get_status : (status -> unit) -> unit
val destroy : (status -> unit) -> unit