MoveableStatus
public enum MoveableStatus
An enum representing possible status types being sent by a Moveable object to its MotionUpdateDelegate delegate.
-
A
Moveableobject’s motion operation has started.Declaration
Swift
case started -
A
Moveableobject’s motion operation has been stopped manually (when the stop() method is called) prior to completion.Declaration
Swift
case stopped -
A
Moveableobject’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 aMoveableclass is set to repeat two times and itsisReversingproperty is set totrue, it should send this status after the second reversal of direction.Declaration
Swift
case halfCompleted -
A
Moveableobject’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 aMoveableclass allows a movement to be repeated multiple times, this status should only be sent when all repetitions have finished.Declaration
Swift
case completed -
A
Moveableobject’s motion operation has updated the properties it is moving.Declaration
Swift
case updated -
A
Moveableobject’s motion operation has reversed its movement direction.Declaration
Swift
case reversed -
A
Moveableobject’s motion operation has started a new repeat cycle.Declaration
Swift
case repeated -
A
Moveableobject’s motion operation has paused.Declaration
Swift
case paused -
A
Moveableobject’s motion operation has resumed.Declaration
Swift
case resumed -
A
Moveableobject sequence collection (such asMotionSequence) when its movement has advanced to the next sequence step.Declaration
Swift
case stepped
View on GitHub