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§
Sourceunsafe fn characterEnteredInUserInteraction(
&self,
interaction: &TKSmartCardUserInteraction,
)
unsafe fn characterEnteredInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
A valid character has been entered.
Sourceunsafe fn correctionKeyPressedInUserInteraction(
&self,
interaction: &TKSmartCardUserInteraction,
)
unsafe fn correctionKeyPressedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
A correction key has been pressed.
Sourceunsafe fn validationKeyPressedInUserInteraction(
&self,
interaction: &TKSmartCardUserInteraction,
)
unsafe fn validationKeyPressedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
The validation key has been pressed (end of PIN entry).
Sourceunsafe fn invalidCharacterEnteredInUserInteraction(
&self,
interaction: &TKSmartCardUserInteraction,
)
unsafe fn invalidCharacterEnteredInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
An invalid character has been entered.
Sourceunsafe fn oldPINRequestedInUserInteraction(
&self,
interaction: &TKSmartCardUserInteraction,
)
unsafe fn oldPINRequestedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
Indicates that the old PIN needs to be entered.
Sourceunsafe fn newPINRequestedInUserInteraction(
&self,
interaction: &TKSmartCardUserInteraction,
)
unsafe fn newPINRequestedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
Indicates that the new PIN needs to be entered.
Sourceunsafe fn newPINConfirmationRequestedInUserInteraction(
&self,
interaction: &TKSmartCardUserInteraction,
)
unsafe fn newPINConfirmationRequestedInUserInteraction( &self, interaction: &TKSmartCardUserInteraction, )
Indicates that the new PIN needs to be confirmed (re-entered).