/** * Parses the byte into a VideoOrientation object * * @param videoOrientation Byte representing the video Orientation * @return VideoOrientation object */ public static VideoOrientation parse(byte videoOrientation) { return new VideoOrientation( CameraOptions.convert((videoOrientation & 0x08) >>> 3), Orientation.convert(videoOrientation & 0x07)); }