Interface UIService
-
- All Implemented Interfaces:
public interface UIServiceRepresents a component capable of creating and managing UI elements.
-
-
Method Summary
Modifier and Type Method Description abstract <T extends Presentation<T>> Presentable<T>create(T presentation, PresentationUtilityProvider presentationUtilityProvider)Creates a Presentable for the given presentation. abstract UnitsetPresentationDelegate(PresentationDelegate presentationDelegate)Sets the presentation delegate for the SDK. -
-
Method Detail
-
create
abstract <T extends Presentation<T>> Presentable<T> create(T presentation, PresentationUtilityProvider presentationUtilityProvider)
Creates a Presentable for the given presentation.
- Parameters:
presentation- The Presentation type to be createdpresentationUtilityProvider- a PresentationUtilityProvider that provides components that should be used for creating the presentation.- Returns:
a Presentable that is associated with the presentation.
-
setPresentationDelegate
abstract Unit setPresentationDelegate(PresentationDelegate presentationDelegate)
Sets the presentation delegate for the SDK.
- Parameters:
presentationDelegate- a PresentationDelegate that will be used to notify presentation events and query for approval before presentation is displayed.
-
-
-
-