Code example for UiSettings

Methods: setZoomGesturesEnabled

0
    public void setZoomGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables zoom gestures (i.e., double tap, pinch & stretch). 
        mUiSettings.setZoomGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    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.