// state for simulating plus/minus hold BOOL simulateHoldEvents; BOOL lastEventSimulatedHold;
RemoteControlEventIdentifier lastHoldEvent;
NSTimeInterval lastHoldEventTime;
// state for multi click unsignedint clickCountEnabledButtons;
NSTimeInterval maxClickTimeDifference;
NSTimeInterval lastClickCountEventTime;
RemoteControlEventIdentifier lastClickCountEvent; unsignedint eventClickCount;
}
- (id)init;
// Delegates are not retained
- (void)setDelegate:(id)delegate;
- (id)delegate;
// Simulating hold events does deactivate sending of individual requests for pressed down/released. // Instead special hold events are being triggered when the user is pressing and holding a button for a small period. // Simulation is activated only for those buttons and remote control that do not have a separate event already
- (BOOL)simulateHoldEvent;
- (void)setSimulateHoldEvent:(BOOL)value;
// click counting makes it possible to recognize if the user has pressed a button repeatedly // click counting does delay each event as it has to wait if there is another event (second click) // therefore there is a slight time difference (maximumClickCountTimeDifference) between a single click // of the user and the call of your delegate method // click counting can be enabled individually for specific buttons. Use the property clickCountEnableButtons to // set the buttons for which click counting shall be enabled
- (BOOL)clickCountingEnabled;
- (void)setClickCountingEnabled:(BOOL)value;
// the maximum time difference till which clicks are recognized as multi clicks
- (NSTimeInterval)maximumClickCountTimeDifference;
- (void)setMaximumClickCountTimeDifference:(NSTimeInterval)timeDiff;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.