Code example for UiSettings

Methods: setTiltGesturesEnabled

0
    public void setTiltGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables tilt gestures. 
        mUiSettings.setTiltGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setRotateGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables rotate gestures. 
        mUiSettings.setRotateGesturesEnabled(((CheckBox) v).isChecked());
    } 
}