Interface IViewControllerTransitionProgressProvider<TContext>
The IViewControllerTransitionProgressProvider interface is used when performing an interactive transition and supplied to UI Graph via the view controller's interactiveTransitionProgressProvider.
You do not use this class directly, instead use its concrete subclass, ICanvasControllerTransitionProgressProvider or IElementsControllerTransitionProgressProvider, depending on the workflow you are using.
Namespace: Pelican7.UIGraph
Assembly: UI Graph API Documentation Project.dll
Syntax
public interface IViewControllerTransitionProgressProvider<TContext>
Type Parameters
Name | Description |
---|---|
TContext |
Methods
CancelProgressUpdatesToDrivable(IViewControllerTransitionDrivable<TContext>)
Cancel providing progress updates to drivable
. This is called by the system if your transition has been interrupted, such as if its view controller has been destroyed.
Declaration
void CancelProgressUpdatesToDrivable(IViewControllerTransitionDrivable<TContext> drivable)
Parameters
Type | Name | Description |
---|---|---|
IViewControllerTransitionDrivable<TContext> | drivable |
ProvideProgressToDrivable(IViewControllerTransitionDrivable<TContext>)
Provide progress updates to drivable
. Once this method is called, you are responsible for driving the transition's progress. You must call one of the drivable
's
Declaration
void ProvideProgressToDrivable(IViewControllerTransitionDrivable<TContext> drivable)
Parameters
Type | Name | Description |
---|---|---|
IViewControllerTransitionDrivable<TContext> | drivable |