public interface

Orientation

com.neomades.app.Orientation
Known Indirect Subclasses

Class Overview

List of ORIENTATION.

Summary

Constants
int AUTO This is the default value, so that the current orientation is based on the device orientation settings.
int LANDSCAPE Landscape orientation
int PORTRAIT Portrait orientation
int PORTRAIT_OR_LANDSCAPE Portrait or landscape orientation (this is equivalent to PORTRAIT | LANDSCAPE)

Constants

public static final int AUTO

This is the default value, so that the current orientation is based on the device orientation settings. For example, if the user has blocked the device in landscape mode, then the application will be blocked the same way.

Constant Value: 0 (0x00000000)

public static final int LANDSCAPE

Landscape orientation

Constant Value: 2 (0x00000002)

public static final int PORTRAIT

Portrait orientation

Constant Value: 1 (0x00000001)

public static final int PORTRAIT_OR_LANDSCAPE

Portrait or landscape orientation (this is equivalent to PORTRAIT | LANDSCAPE)

Constant Value: 3 (0x00000003)