ViewportStatusChangeReason
public struct ViewportStatusChangeReason : Hashable
Constants that describe why status
changed.
-
status
changed becausetransition(to:transition:completion:)
was invoked.An event with this reason is not delivered if the
run(to:completion:)
invokes its completion block synchronously.Declaration
Swift
public static let transitionStarted: ViewportStatusChangeReason
-
status
changed becausetransition(to:transition:completion:)
completed successfully.Declaration
Swift
public static let transitionSucceeded: ViewportStatusChangeReason
-
status
changed becausetransition(to:transition:completion:)
failed.Declaration
Swift
public static let transitionFailed: ViewportStatusChangeReason
-
status
changed due to user interaction.See also
transitionsToIdleUponUserInteraction
Declaration
Swift
public static let userInteraction: ViewportStatusChangeReason