windows::Win32::Devices::Geolocation

Trait ILocationReportFactory_Impl

pub trait ILocationReportFactory_Impl: IDispatch_Impl {
    // Required methods
    fn ListenForReports(&self, requestedreportinterval: u32) -> Result<()>;
    fn StopListeningForReports(&self) -> Result<()>;
    fn Status(&self) -> Result<u32>;
    fn ReportInterval(&self) -> Result<u32>;
    fn SetReportInterval(&self, millisecondsrequested: u32) -> Result<()>;
    fn DesiredAccuracy(&self) -> Result<u32>;
    fn SetDesiredAccuracy(&self, desiredaccuracy: u32) -> Result<()>;
    fn RequestPermissions(&self, hwnd: *const u32) -> Result<()>;
}

Required Methods§

fn ListenForReports(&self, requestedreportinterval: u32) -> Result<()>

fn StopListeningForReports(&self) -> Result<()>

fn Status(&self) -> Result<u32>

fn ReportInterval(&self) -> Result<u32>

fn SetReportInterval(&self, millisecondsrequested: u32) -> Result<()>

fn DesiredAccuracy(&self) -> Result<u32>

fn SetDesiredAccuracy(&self, desiredaccuracy: u32) -> Result<()>

fn RequestPermissions(&self, hwnd: *const u32) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§