Platforms to show: All Mac Windows Linux Cross-Platform

TKSmartCardMBS.beginSessionCompleted(success as Boolean, error as NSErrorMBS, tag as Variant)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Event called when session begun.
Notes:
success: Whether the session could be established successfully.
error: Contains information about the the error preventing the transaction from being established.
The NSError object is created in the TKErrorDomain domain with a code in the TKErrorCode enumeration.

Some examples using this event:

TKSmartCardMBS.inSession(byref error as NSErrorMBS, tag as Variant) as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
event SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ❌ No
Function: The event called in session.
Notes:
The event to be called in the context of the created session. This event returns a Boolean value indicating whether communication was successful.

error: To indicate that an error occurred during the session, populate this with an NSError object containing details and return false.

See also:

TKSmartCardMBS.sendInsCompleted(ins as UInt8, p1 as UInt8, p2 as UInt8, requestData as MemoryBlock, le as integer, replyData as MemoryBlock, sw as UInt16, error as NSErrorMBS, tag as Variant)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Event called when sendIns completed.
Notes:
replyData: The returned data without the first two bytes (SW1SW2), or nil if an error occurred.
sw: The result code as represented by the first two bytes (SW1SW2) of the returned data.
error: If a communication error occurred or the sw result code is anything other than &h9000, contains details about the error.
TKSmartCardMBS.transmitRequestCompleted(request as MemoryBlock, response as MemoryBlock, error as NSErrorMBS, tag as Variant)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ❌ No
Function: The event called when transmit is done.
Notes:
response: The APDU response data, or nil if communication with the Smart Card failed.
error: Contains information about the the error preventing the transaction from being established.
The NSError object is created in the TKErrorDomain domain with a code in the TKErrorCode enumeration.
TKSmartCardMBS.ValidChanged
Type Topic Plugin Version macOS Windows Linux iOS Targets
event SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ❌ No
Function: Event called when valid property changed.

The items on this page are in the following plugins: MBS Mac64bit Plugin.

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat