react-native-zoom-us
Version:
React-native bridge for ZoomUs SDK
17 lines (16 loc) • 797 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.RNZoomUs = exports.RNZoomUsVideoView = exports.VideoAspectModeEnum = void 0;
const react_native_1 = require("react-native");
exports.VideoAspectModeEnum = {
VIDEO_ASPECT_ORIGINAL: 0,
VIDEO_ASPECT_FULL_FILLED: 1,
VIDEO_ASPECT_LETTER_BOX: 2,
VIDEO_ASPECT_PAN_AND_SCAN: 3,
VIDEO_ASPECT_TRUSTEE: 4,
};
// TODO: implement for iOS -> https://github.com/mieszko4/react-native-zoom-us/issues/113
exports.RNZoomUsVideoView = (react_native_1.Platform.OS === 'android' ? react_native_1.requireNativeComponent('RNZoomUsVideoView') : null);
exports.RNZoomUs = react_native_1.NativeModules.RNZoomUs;
if (!exports.RNZoomUs)
console.error('[react-native-zoom-us] RNZoomUs native module is not linked.');
;