public static AuthenticationOOBMethods fromValue(final int method) {
        switch (method) {
            case 0:
                return NO_OOB_AUTHENTICATION;
            case 1:
                return STATIC_OOB_AUTHENTICATION;
            case 2:
                return OUTPUT_OOB_AUTHENTICATION;
            case 3:
                return INPUT_OOB_AUTHENTICATION;
            default:
                return null;
        }
    }
Returns the oob method used for authentication

@param method auth method used
mesh/src/main/java/no/nordicsemi/android/mesh/utils/AuthenticationOOBMethods.java