public static InputOOBAction fromValue(final short method) {
        switch (method) {
            default:
            case 0x0000:
                return NO_INPUT;
            case 0x0001:
                return PUSH;
            case 0x0002:
                return TWIST;
            case 0x0004:
                return INPUT_NUMERIC;
            case 0x0008:
                return INPUT_ALPHA_NUMERIC;
        }
    }
Returns the oob method used for authentication

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