ptpEventHandler
A closure for handling PTP event packets.
Declaration
var ptpEventHandler: (Data) -> Void { get set }Discussion
Set this property as an alternative to setting up an object to handle PTP event packets. If the handler is set, it is called in place of the delegate. If the handler is nil, the delegate is called, if present. If both are set, only the handler is called.