pub trait GeolocationManagerExt: IsA<GeolocationManager> + Sealed + 'static {
    // Provided methods
    fn failed(&self, error_message: &str) { ... }
    fn enables_high_accuracy(&self) -> bool { ... }
    fn update_position(&self, position: &mut GeolocationPosition) { ... }
    fn connect_start<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_stop<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_enable_high_accuracy_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}
Available on crate feature v2_26 only.

Provided Methods§

source

fn failed(&self, error_message: &str)

source

fn enables_high_accuracy(&self) -> bool

source

fn update_position(&self, position: &mut GeolocationPosition)

source

fn connect_start<F: Fn(&Self) -> bool + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_stop<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_enable_high_accuracy_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§