MultimediaParams: { type?: Type; page: IPage; action?: ActionType; allowsEditing?: boolean; aspectRatio?: { x: number; y: number }; ios?: { cameraFlashMode?: CameraFlashMode; cameraDevice?: CameraDevice }; android?: { cropShape?: CropShape; rotateText?: string; scaleText?: string; cropText?: string; headerBarTitle?: string; hideBottomControls?: boolean; enableFreeStyleCrop?: boolean; maxResultSize?: { height: number; width: number }; fixOrientation?: boolean; maxImageSize?: number }; onSuccess: ((params: { image?: IImage; video?: IFile }) => void); onCancel?: (() => void); onFailure?: ((e: { message: string }) => void) }

Type declaration

  • Optional type?: Type
  • page: IPage
  • Optional action?: ActionType
  • Optional allowsEditing?: boolean
  • Optional aspectRatio?: { x: number; y: number }
    • x: number
    • y: number
  • Optional ios?: { cameraFlashMode?: CameraFlashMode; cameraDevice?: CameraDevice }
  • Optional android?: { cropShape?: CropShape; rotateText?: string; scaleText?: string; cropText?: string; headerBarTitle?: string; hideBottomControls?: boolean; enableFreeStyleCrop?: boolean; maxResultSize?: { height: number; width: number }; fixOrientation?: boolean; maxImageSize?: number }
    • Optional cropShape?: CropShape
    • Optional rotateText?: string
    • Optional scaleText?: string
    • Optional cropText?: string
    • Optional headerBarTitle?: string
    • Optional hideBottomControls?: boolean
    • Optional enableFreeStyleCrop?: boolean
    • Optional maxResultSize?: { height: number; width: number }
      • height: number
      • width: number
    • Optional fixOrientation?: boolean
    • Optional maxImageSize?: number
  • onSuccess: ((params: { image?: IImage; video?: IFile }) => void)
  • Optional onCancel?: (() => void)
      • (): void
      • Returns void

  • Optional onFailure?: ((e: { message: string }) => void)
      • (e: { message: string }): void
      • Parameters

        • e: { message: string }
          • message: string

        Returns void

Generated using TypeDoc