TKSmartCardUserInteractionDelegate

Trait TKSmartCardUserInteractionDelegate 

Source
pub unsafe trait TKSmartCardUserInteractionDelegate {
    // Provided methods
    unsafe fn characterEnteredInUserInteraction(
        &self,
        interaction: &TKSmartCardUserInteraction,
    )
       where Self: Sized + Message { ... }
    unsafe fn correctionKeyPressedInUserInteraction(
        &self,
        interaction: &TKSmartCardUserInteraction,
    )
       where Self: Sized + Message { ... }
    unsafe fn validationKeyPressedInUserInteraction(
        &self,
        interaction: &TKSmartCardUserInteraction,
    )
       where Self: Sized + Message { ... }
    unsafe fn invalidCharacterEnteredInUserInteraction(
        &self,
        interaction: &TKSmartCardUserInteraction,
    )
       where Self: Sized + Message { ... }
    unsafe fn oldPINRequestedInUserInteraction(
        &self,
        interaction: &TKSmartCardUserInteraction,
    )
       where Self: Sized + Message { ... }
    unsafe fn newPINRequestedInUserInteraction(
        &self,
        interaction: &TKSmartCardUserInteraction,
    )
       where Self: Sized + Message { ... }
    unsafe fn newPINConfirmationRequestedInUserInteraction(
        &self,
        interaction: &TKSmartCardUserInteraction,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature TKSmartCard only.
Expand description

Delegate for user interactions involving the SmartCard reader.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn characterEnteredInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
where Self: Sized + Message,

A valid character has been entered.

Source

unsafe fn correctionKeyPressedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
where Self: Sized + Message,

A correction key has been pressed.

Source

unsafe fn validationKeyPressedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
where Self: Sized + Message,

The validation key has been pressed (end of PIN entry).

Source

unsafe fn invalidCharacterEnteredInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
where Self: Sized + Message,

An invalid character has been entered.

Source

unsafe fn oldPINRequestedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
where Self: Sized + Message,

Indicates that the old PIN needs to be entered.

Source

unsafe fn newPINRequestedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
where Self: Sized + Message,

Indicates that the new PIN needs to be entered.

Source

unsafe fn newPINConfirmationRequestedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
where Self: Sized + Message,

Indicates that the new PIN needs to be confirmed (re-entered).

Trait Implementations§

Source§

impl ProtocolType for dyn TKSmartCardUserInteractionDelegate

Source§

const NAME: &'static str = "TKSmartCardUserInteractionDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn TKSmartCardUserInteractionDelegate

Implementations on Foreign Types§

Source§

impl<T> TKSmartCardUserInteractionDelegate for ProtocolObject<T>

Implementors§