use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-location")]
use objc2_core_location::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct MKLookAroundSceneRequest;
);
extern_conformance!(
unsafe impl NSObjectProtocol for MKLookAroundSceneRequest {}
);
impl MKLookAroundSceneRequest {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[cfg(feature = "objc2-core-location")]
#[unsafe(method(initWithCoordinate:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithCoordinate(
this: Allocated<Self>,
coordinate: CLLocationCoordinate2D,
) -> Retained<Self>;
#[cfg(feature = "MKMapItem")]
#[unsafe(method(initWithMapItem:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithMapItem(
this: Allocated<Self>,
map_item: &MKMapItem,
) -> Retained<Self>;
#[cfg(feature = "objc2-core-location")]
#[unsafe(method(coordinate))]
#[unsafe(method_family = none)]
pub unsafe fn coordinate(&self) -> CLLocationCoordinate2D;
#[cfg(feature = "MKMapItem")]
#[unsafe(method(mapItem))]
#[unsafe(method_family = none)]
pub unsafe fn mapItem(&self) -> Option<Retained<MKMapItem>>;
#[unsafe(method(isCancelled))]
#[unsafe(method_family = none)]
pub unsafe fn isCancelled(&self) -> bool;
#[unsafe(method(isLoading))]
#[unsafe(method_family = none)]
pub unsafe fn isLoading(&self) -> bool;
#[cfg(all(feature = "MKLookAroundScene", feature = "block2"))]
#[unsafe(method(getSceneWithCompletionHandler:))]
#[unsafe(method_family = none)]
pub unsafe fn getSceneWithCompletionHandler(
&self,
completion_handler: &block2::DynBlock<dyn Fn(*mut MKLookAroundScene, *mut NSError)>,
);
#[unsafe(method(cancel))]
#[unsafe(method_family = none)]
pub unsafe fn cancel(&self);
);
}