TiagoMSSantos/MobileRT

View on GitHub
app/src/main/java/puscas/mobilertapp/constants/ConstantsToast.java

Summary

Maintainability
A
0 mins
Test Coverage
package puscas.mobilertapp.constants;

/**
 * Utility class with the text constants for the {@link android.widget.Toast}.
 */
public final class ConstantsToast {

    /**
     * A warning message for when the Android device doesn't have a File Manager
     * application.
     */
    public static final String PLEASE_INSTALL_FILE_MANAGER = "Please install a File Manager.";

    /**
     * A warning message for when the Android device doesn't have enough memory
     * to render the scene.
     */
    public static final String DEVICE_WITHOUT_ENOUGH_MEMORY =
        "Device without enough memory to render the scene!\n";

    /**
     * A warning message for when the Android device couldn't load the scene.
     */
    public static final String COULD_NOT_LOAD_THE_SCENE = "Could not load the scene!\n";

    /**
     * A warning message for when the Android device couldn't render the scene.
     */
    public static final String COULD_NOT_RENDER_THE_SCENE = "Could not render the scene!\n";

    /**
     * Private constructor to avoid creating instances.
     */
    private ConstantsToast() {
        throw new UnsupportedOperationException("Not implemented.");
    }

}