MoveableStatus

public enum MoveableStatus

An enum representing possible status types being sent by a Moveable object to its MotionUpdateDelegate delegate.

  • A Moveable object’s motion operation has started.

    Declaration

    Swift

    case started
  • A Moveable object’s motion operation has been stopped manually (when the stop() method is called) prior to completion.

    Declaration

    Swift

    case stopped
  • A Moveable object’s motion operation has completed 50% of its total movement.

    Remark

    This status should only be sent when half of the activity related to the motion has ceased. For instance, if a Moveable class is set to repeat two times and its reversing property is set to true, it should send this status after the second reversal of direction.

    Declaration

    Swift

    case halfCompleted
  • A Moveable object’s motion operation has fully completed.

    Remark

    This status should only be posted when all activity related to the motion has ceased. For instance, if a Moveable class allows a movement to be repeated multiple times, this status should only be sent when all repetitions have finished.

    Declaration

    Swift

    case completed
  • A Moveable object’s motion operation has updated the properties it is moving.

    Declaration

    Swift

    case updated
  • A Moveable object’s motion operation has reversed its movement direction.

    Declaration

    Swift

    case reversed
  • A Moveable object’s motion operation has started a new repeat cycle.

    Declaration

    Swift

    case repeated
  • A Moveable object’s motion operation has paused.

    Declaration

    Swift

    case paused
  • A Moveable object’s motion operation has resumed.

    Declaration

    Swift

    case resumed
  • A Moveable object sequence collection (such as MotionSequence) when its movement has advanced to the next sequence step.

    Declaration

    Swift

    case stepped