Package org.robolectric.fakes
Class RoboSplashScreen
java.lang.Object
org.robolectric.fakes.RoboSplashScreen
- All Implemented Interfaces:
SplashScreen
public class RoboSplashScreen extends Object implements SplashScreen
Robolectric implementation of
SplashScreen
.-
Nested Class Summary
Nested classes/interfaces inherited from interface android.window.SplashScreen
SplashScreen.OnExitAnimationListener, SplashScreen.SplashScreenImpl, SplashScreen.SplashScreenManagerGlobal, SplashScreen.SplashScreenStyle
-
Field Summary
Fields inherited from interface android.window.SplashScreen
SPLASH_SCREEN_STYLE_ICON, SPLASH_SCREEN_STYLE_SOLID_COLOR, SPLASH_SCREEN_STYLE_UNDEFINED
-
Constructor Summary
Constructors Constructor Description RoboSplashScreen()
-
Method Summary
Modifier and Type Method Description void
clearOnExitAnimationListener()
int
getSplashScreenTheme()
void
setOnExitAnimationListener(SplashScreen.OnExitAnimationListener listener)
void
setSplashScreenTheme(int themeId)
-
Constructor Details
-
RoboSplashScreen
public RoboSplashScreen()
-
-
Method Details
-
setOnExitAnimationListener
- Specified by:
setOnExitAnimationListener
in interfaceSplashScreen
-
clearOnExitAnimationListener
public void clearOnExitAnimationListener()- Specified by:
clearOnExitAnimationListener
in interfaceSplashScreen
-
setSplashScreenTheme
- Specified by:
setSplashScreenTheme
in interfaceSplashScreen
-
getSplashScreenTheme
-