/** * Convenience constructor. * * @param Origin Source orientation when the event was fired. * @param Destination Destination orientation when the event was fired. * @param State State of the event (WillBegin, DidFinish). * @param Timestamp Timestamp in milliseconds when the event was fired. * @since V2.0.5 */ public RotationEvent(ICapabilitiesOrientation origin, ICapabilitiesOrientation destination, RotationEventState state, long timestamp) : base() { this.Origin = Origin; this.Destination = Destination; this.State = State; this.Timestamp = Timestamp; }
/** * Sets the current state of the event. * * @param State The state of the event. * @since V2.0.5 */ public void SetState(RotationEventState State) { this.State = State; }