Code example for UiSettings

Methods: setRotateGesturesEnabled

0
    public void setRotateGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables rotate gestures. 
        mUiSettings.setRotateGesturesEnabled(((CheckBox) v).isChecked());
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java