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 ofSplashScreen
.
-
-
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_EMPTY, SPLASH_SCREEN_STYLE_ICON, SPLASH_SCREEN_STYLE_UNDEFINED
-
-
Constructor Summary
Constructors Constructor Description RoboSplashScreen()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearOnExitAnimationListener()
int
getSplashScreenTheme()
void
setOnExitAnimationListener(SplashScreen.OnExitAnimationListener listener)
void
setSplashScreenTheme(int themeId)
-
-
-
Method Detail
-
setOnExitAnimationListener
public void setOnExitAnimationListener(SplashScreen.OnExitAnimationListener listener)
- Specified by:
setOnExitAnimationListener
in interfaceSplashScreen
-
clearOnExitAnimationListener
public void clearOnExitAnimationListener()
- Specified by:
clearOnExitAnimationListener
in interfaceSplashScreen
-
setSplashScreenTheme
public void setSplashScreenTheme(@StyleRes int themeId)
- Specified by:
setSplashScreenTheme
in interfaceSplashScreen
-
getSplashScreenTheme
@StyleRes public int getSplashScreenTheme()
-
-