use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
#[cfg(feature = "INCallRecord")]
impl INCallRecord {
extern_methods!(
#[cfg(all(
feature = "INCallCapability",
feature = "INCallRecordType",
feature = "INPerson"
))]
#[deprecated = "Replaced by -initWithIdentifier:dateCreated:callRecordType:callCapability:callDuration:unseen:participants:numberOfCalls:isCallerIdBlocked"]
#[unsafe(method(initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithIdentifier_dateCreated_caller_callRecordType_callCapability_callDuration_unseen(
this: Allocated<Self>,
identifier: &NSString,
date_created: Option<&NSDate>,
caller: Option<&INPerson>,
call_record_type: INCallRecordType,
call_capability: INCallCapability,
call_duration: Option<&NSNumber>,
unseen: Option<&NSNumber>,
) -> Retained<Self>;
#[cfg(all(
feature = "INCallCapability",
feature = "INCallRecordType",
feature = "INPerson"
))]
#[deprecated = "Replaced by -initWithIdentifier:dateCreated:callRecordType:callCapability:callDuration:unseen:participants:numberOfCalls:isCallerIdBlocked"]
#[unsafe(method(initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:numberOfCalls:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithIdentifier_dateCreated_caller_callRecordType_callCapability_callDuration_unseen_numberOfCalls(
this: Allocated<Self>,
identifier: &NSString,
date_created: Option<&NSDate>,
caller: Option<&INPerson>,
call_record_type: INCallRecordType,
call_capability: INCallCapability,
call_duration: Option<&NSNumber>,
unseen: Option<&NSNumber>,
number_of_calls: Option<&NSNumber>,
) -> Retained<Self>;
#[cfg(feature = "INPerson")]
#[deprecated]
#[unsafe(method(caller))]
#[unsafe(method_family = none)]
pub unsafe fn caller(&self) -> Option<Retained<INPerson>>;
);
}