AutelXT701 Camera Class
class AutelXT701
Description this class inherit from AutelBaseCamera class, XT701 camera interface function
method setFlashMemoryCardStateListener
void setFlashMemoryCardStateListener(CallbackWithOneParam<MMCState> callback);
Description: Set flash card status monitoring
Input params:
callback:the listener will be cancelled when the callback is null.
Output params: no.
Related params: CallbackWithOneParam、MMCState
method setPhotoExposureListener
void setPhotoExposureListener(CallbackWithOneParam<Boolean> callback);
Description: set photo exposure listener
Input params:
callback:the listener will be cancelled when the callback is null.
Output params: no.
Related params: CallbackWithOneParam
method setAFCenterListener
void setAFCenterListener(CallbackWithOneParam<Boolean> callback);
Description: Set AF center status monitoring
Input params:
callback:callback when Set AF center status monitoring
Output params: no.
Related params: CallbackWithOneParam
method setMotionDelayShotListener
void setMotionDelayShotListener(CallbackWithOneParam<MotionDelayShot> callback);
Description: Set time-lapse photography status monitoring
Input params:
callback:the callback with param MotionDelayShot when Set time-lapse photography status monitoring.
Output params: no.
Related params: CallbackWithOneParam、MotionDelayShot
method setSettingChangedListener
void setSettingChangedListener(CallbackWithOneParam<SettingEvent> callback);
Description: Triggered when any setting data changes
Input params:
callback:callback with param SettingEvent.
Output params: no.
Related params: CallbackWithOneParam、SettingEvent
method setInfoListener
void setInfoListener(CallbackWithOneParam<XT701CameraInfo> callback);
Description: Sets the listener for the camera information to monitor the real-time data.
Input params:
callback:callback with param XT701CameraInfo.
Output params: no.
Related params: XT701CameraInfo
method getParameterRangeManager
XT701ParameterRangeManager getParameterRangeManager();
Description: Returns the parameter range manager of XT701 camera.
Input params: no.
Output params the parameter range manager of XT701 camera.
method setHistogramListener
void setHistogramListener(CallbackWithOneParam<int[]> callback);
Description: Sets the listener for the histogram switch to monitor the real-time data.
Input params:
callback:callback when Sets the listener for the histogram switch to monitor the real-time data.
method setAutoFocusStateListener
void setAutoFocusStateListener(CallbackWithTwoParams<LensFocusStatus,
List<SpotMeteringArea>> callback);
Description: Sets the listener for the camera auto focus to monitor the real-time data
Input params:
callback:with LensFocusStatus andd SpotMeteringArea params callback.
Related params: LensFocusStatus、SpotMeteringArea
method setSpotMeteringArea
void setSpotMeteringArea(int x, int y, CallbackWithNoParam callback);
Description: Sets the camera spot metering(5*9).
Input params:
x:raster No.x in horizontal, ranges from 1 to 5.
y:raster No.y in vertical, ranges from 1 to 9.
callback:the callback when set the camera spot metering(5*9).
method setAutoExposureLockState
void setSpotMeteringArea(int x, int y, CallbackWithNoParam callback);
Description: ets the camera auto exposure lock.It is cannot be set in manual mode.Only LOCK and UNLOCK are supported in other modes.
Input params:
lockState:the enum of the auto exposure lock state.
callback:the callback when set the camera auto exposure lock.
Related params: CallbackWithNoParam、AutoExposureLockState
method setExposure
void setExposure(ExposureCompensation exposure, CallbackWithNoParam callback);
Description: Sets the camera exposure values.
Input params:
exposure:the camera exposure values.
callback:the callback when set the camera exposure values.
Related params: CallbackWithNoParam、AutoExposureLockState
method setISO
void setISO(CameraISO value, CallbackWithNoParam callback);
Description: Sets the camera ISO values.
Input params:
value:the camera ISO values.
callback:the callback when set the camera ISO values.
Related params: CallbackWithNoParam、CameraISO
method setShutter
void setShutter(ShutterSpeed value, CallbackWithNoParam callback);
Description: Sets the camera shutter values. this function is only available in manual mode.
Input params:
value:the camera shutter values.
callback: the callback when set the camera shutter values.
Related params: CallbackWithNoParam、ShutterSpeed
method getColorStyle
void getColorStyle(CallbackWithOneParam<ColorStyle> callback);
Description: Returns the camera color styles.
Input params:
callback:the callback when get the camera color styles.
Related params: CallbackWithNoParam、ColorStyle
method setWhiteBalance
void setWhiteBalance(WhiteBalance value, CallbackWithNoParam callback);
Description: Sets the camera white balance values.
Input params:
value:the enum of the camera white balance values.
callback:the callback when set the camera white balance values.
Related params: CallbackWithNoParam、WhiteBalance
method setColorStyle
void setColorStyle(ColorStyle value, CallbackWithNoParam callback);
Description: Sets the camera color styles.
Input params:
value:the enum of the camera color styles.
callback:the callback when set the camera color styles.
Related params: CallbackWithNoParam、ColorStyle
method set3DNoiseReductionEnable
void set3DNoiseReductionEnable(boolean enable, CallbackWithNoParam
callback);
Description: Sets the switch values for the 3d noise reduction.
Input params:
enable:whether enable the 3d noise reduction or not.
callback:the callback when set the switch values for the 3d noise reduction.
Related params: CallbackWithNoParam
method setAntiFlicker
void setAntiFlicker(AntiFlicker value, CallbackWithNoParam callback);
Description: Sets the anti-flicker function. it is only available in auto mode.
Input params:
value:the enum values of the anti-flicker function.
callback:the callback when set the anti-flicker function.
Related params: CallbackWithNoParam,AntiFlicker
method getAutoExposureLockState
void getAutoExposureLockState(CallbackWithOneParam<AutoExposureLockState>
callback);
Description: Returns the auto exposure lock state.
Input params:
callback:the callback when get the auto exposure lock state.
Related params: CallbackWithOneParam,AutoExposureLockState
method getSpotMeteringArea
void getSpotMeteringArea(CallbackWithOneParam<SpotMeteringArea> callback);
Description: Returns the spot metering area values.
Input params:
callback:the callback when get the spot metering area values.
Related params: SpotMeteringArea
method getAntiFlicker
void getAntiFlicker(CallbackWithOneParam<AntiFlicker> callback);
Description: Returns the anti-flicker status.
Input params:
callback:the callback when get the anti-flicker status.
Related params: AntiFlicker
method getWhiteBalance
void getWhiteBalance(CallbackWithOneParam<WhiteBalance> callback);
Description: Returns the white balance value.
Input params:
callback:the callback when get the white balance value.
Related params: WhiteBalance
method getExposure
void getExposure(CallbackWithOneParam<ExposureCompensation> callback);
Description: Get exposure value
Input params:
callback:the callback when get exposure value.
Related params: ExposureCompensation
method getShutter
void getShutter(CallbackWithOneParam<ShutterSpeed> callback);
Description: Get shutter setting value
Input params:
callback:the callback when get shutter setting value.
Related params: ShutterSpeed
method getISO
void getISO(CallbackWithOneParam<CameraISO> callback);
Description: Get camera ISO value
Input params:
callback:the callback when get camera ISO value.
Related params: CameraISO
method getExposureMode
void getExposureMode(CallbackWithOneParam<ExposureMode> callback);
Description: Get exposure mode of camera.
Input params:
callback:the callback when get exposure mode of camera.
Related params: ExposureMode
method setPhotoStyle
void setPhotoStyle(PhotoStyleType value, CallbackWithNoParam callback);
Description: Set photo style
Input params:
value:PhotoStyleType enum value to be set.
callback:callback when set photo style.
Related params: PhotoStyleType、CallbackWithNoParam
method setPhotoStyle
void setPhotoStyle(int contrast, int saturation, int sharpness,
CallbackWithNoParam callback)
Description: Set photo style.
Input params:
contrast: ranges from -3 to 3
saturation:ranges from -3 to 3
sharpness:ranges from -3 to 3
callback:callback when set photo style.
Related params: PhotoStyleType、CallbackWithNoParam
method isHistogramStatusEnable
void isHistogramStatusEnable(CallbackWithOneParam<Boolean> callback);
Description: Get histogram switch status
Input params:
callback:the callback when get histogram switch status.
Related params: CallbackWithOneParam
method setVideoSubtitleEnable
void setVideoSubtitleEnable(boolean enable, CallbackWithNoParam callback);
Description: Set video subtitle switch value.
Input params:
enable:whether enable video subtitle switch value.
callback:callback when set video subtitle switch value.
Related params: CallbackWithNoParam
method isSubtitleEnable
void isSubtitleEnable(CallbackWithOneParam<Boolean> callback);
Description: Get video subtitle switch status.
Input params:
callback:the callback when get video subtitle switch status.
method getPhotoStyle
void getPhotoStyle(CallbackWithOneParam<PhotoStyle> callback);
Description: Get photo style
Input params:
callback:the callback when get photo style.
Related params: PhotoStyle
method getFocusMode
void getFocusMode(CallbackWithOneParam<LensFocusMode> callback);
Description: Get focus mode
Input params:
callback:the callback when gets focus mode
Related params: LensFocusMode
method getFocusAFSpotArea
void getFocusAFSpotArea(CallbackWithOneParam<SpotMeteringArea> callback);
Description: Get AF metering point
Input params:
callback:the callback when get AF metering point.
Related params: SpotMeteringArea
method setFocusMode
void setFocusMode(LensFocusMode param, CallbackWithNoParam callback);
Description: Set camera focus mode.
Input params:
param:CameraLensFocusMode enum value to be set.
callback:callback when set camera focus mode.
Related params: LensFocusMode
method setExposureMode
void setExposureMode(ExposureMode param, CallbackWithNoParam callback);
Description Set camera mode.
Input params:
param:ExposureMode value to be set.
callback:callback when set camera mode.
Related params: ExposureMode
method getFocusDistance
void getFocusDistance(CallbackWithOneParam<Integer> callback);
Description: Set camera focus mode.
Input params:
callback:CameraLensFocusMode enum value to be set.
method setExposureMode
void setExposureMode(ExposureMode param, CallbackWithNoParam callback);
Description: Set camera mode.
Input params:
param:ExposureMode value to be set
callback:callback wehn set camera mode.
Related params: ExposureMode
method setFocusDistance
void setFocusDistance(int objectDistance, CallbackWithNoParam callback);
Description: Set camera focus position, ranges from 10 cm to 10000 cm (Only valid MF mode). this is available in CameraLensFocusMode MF mode.
Input params:
objectDistance:camera focus position to set
callback:callback when set camera focus position.
method getDigitalZoomScale
void getDigitalZoomScale(CallbackWithOneParam<Integer> callback);
Description Get digital zoom scale.
Input params:
callback:the callback when get digital zoom scale.
method setPhotoAutoFocusMeter
void setPhotoAutoFocusMeter(int x, int y, CallbackWithNoParam callback);
Description: Set camera Auto Focus meter
Input params:
x:raster No.x in horizontal lines, ranges from 1 to 100.
x:raster No.y in vertical lines, ranges from 1 to 100. this is available in AF mode
callback:callback when set camera Auto Focus meter .
method startTakePhotoWithFocus
void startTakePhotoWithFocus(CallbackWithNoParam callback);
Description: Request the camera to take photos,Focus before shooting(average focus). 1. See if the camera is in photo shooting mode 2. See if the camera is idle in the current mode 3. See if the SD card is available
Input params:
callback:callback wehn request the camera to take photos.
method setPhotoBurstCount
void setPhotoBurstCount(PhotoBurstCount value, CallbackWithNoParam callback);
Description: Set AutelCamera burst photo count value
Input params:
value:PhotoBurstCount enum value to be set.
callback:callback when set AutelCamera burst photo count value.
method setPhotoTimelapseInterval
void setPhotoTimelapseInterval(PhotoTimelapseInterval value, CallbackWithNoParam callback);
Description: Set timelapse interval value
Input params:
value:PhotoTimelapseInterval enum value to be set.
callback:callback when Set timelapse interval value.
method setPhotoAEBCount
void setPhotoAEBCount(PhotoAEBCount value, CallbackWithNoParam callback);
Description: Set camera AEB count
Input params:
value:PhotoAEBCount enum value to be set
callback:callback when Set camera AEB count.
method getPhotoBurstCount
void getPhotoBurstCount(CallbackWithOneParam<PhotoBurstCount> callback);
Description Get burst photo count
Input params:
callback:callback when burst photo count.
Related params: PhotoAEBCount
method getPhotoTimelapseInterval
void getPhotoTimelapseInterval(CallbackWithOneParam<PhotoTimelapseInterval> callback);
Description: Get interval for timelapse mode
Input params:
value:interval for timelapse.
callback:callback when Get interval for timelapse mode.
Related params: PhotoTimelapseInterval
method getVideoSum
void getVideoSum(CallbackWithOneParam<VideoSum> callback);
Description: Get the number of videos
Input params:
callback:number of videos.
Related params:VideoSum: enum for number of videos.
method getLeftPhotoSum
void getLeftPhotoSum(CallbackWithOneParam<Integer> callback);
Description: Get the number of photos can be taken
Input params:
callback:callback about number of photos can be taken.
method getVideoFormat
void getVideoFormat(CallbackWithOneParam<VideoFormat> callback);
Description: get video format
Input params:
callback: callback when Get video format.
method setVideoFormat
void setVideoFormat(VideoFormat value, CallbackWithNoParam callback);
Description Set camera video format
Input params:
value: VideoFormat enum value to be set.
callback: callback when Set camera video format.
method getVideoStandard
void getVideoStandard(CallbackWithOneParam<VideoStandard> callback);
Description: Get video standard
Input params:
callback: the callback when get video standard: NTSC, PAL.
method setVideoStandard
void setVideoStandard(VideoStandard value, CallbackWithNoParam callback);
Description: Set video standard value
Input params:
value: VideoStandard enum value to be set.
callback: the callback when set video standard value.
method getPhotoFormat
void getPhotoFormat(CallbackWithOneParam<PhotoFormat> callback);
Description: Get the photo format
Input params:
callback:the callback when get the photo format.
method setPhotoFormat
void setPhotoFormat(PhotoFormat value, CallbackWithNoParam callback);
Description: Set photo format
Input params:
value:PhotoFormat enum value to be set.
callback:the callback when set photo format.
method setAspectRatio
void setAspectRatio(PhotoAspectRatio value, CallbackWithNoParam callback);
Description: Set photo aspect ratio
Input params:
value:PhotoAspectRatio enum value to be set.
callback:callback when set aspect ratio
method getAspectRatio
void getAspectRatio(CallbackWithOneParam<PhotoAspectRatio> callback);
Description: Get current photo size
Input params:
callback:he callback when set photo size.
method setVideoResolutionAndFrameRate
void setVideoResolutionAndFrameRate(VideoResolutionAndFps value,
CallbackWithNoParam callback);
Description: Set camera video resolution. figure out the current standard first. Resolution for NTSC can not be et in PAL, and vice versa.
Input params:
value: VideoResolutionAndFps enum value
callback:callback when set set camera video resolution
method getVideoResolutionAndFrameRate
void getVideoResolutionAndFrameRate(CallbackWithOneParam<VideoResolutionAndFps>
callback);
Description: Get current video resolution
Input params:
callback:calbback when Get current video resolution.
method setVideoEncoder
void setVideoEncoder(VideoEncodeFormat encoding, CallbackWithNoParam callback);
Description: Set value of video encoder
Input params:
encoding:the enum values of the VideoEncodeFormat.
callback:the callback when set value of the video encoder.
method getVideoEncoderConfiguration
void getVideoEncoderConfiguration(CallbackWithOneParam<VideoEncoderConfiguration>
callback);
Description: Get configuration of video encoder
Input params:
callback:the callback when set value of the video encoder.
method setVideoRotation
void setVideoRotation(VideoRotation mode, CallbackWithNoParam callback);
Description Set rotation of camera video
Input params:
mode: the enum values of the rotation of camera video.
callback: the callback when set rotation of the camera video.
method getVideoRotation
void getVideoRotation(CallbackWithOneParam<VideoRotation> callback);
Description: Get rotation of camera video
Input params:
callback: the callback when get rotation of the camera video.
method getShutterMode
void getShutterMode(CallbackWithOneParam<VideoRotation> callback);
Description: Gets camera shutter mode
Input params:
callback: the callback when get the camera shutter mode.
method setShutterMode
void setShutterMode(ShutterMode shutterMode, CallbackWithNoParam callback);
Description: Set up camera shutter mode
Input params:
shutterMode: the enum values of the shutter mode.
callback: the callback when set the camera shutter mode.
method setAFAssistFocusEnable
void setAFAssistFocusEnable(boolean enable, CallbackWithNoParam callback);
Description: Set Auto Assist Focus enable or not
Input params:
enable: whether enable the Auto Assist Focus or not.
callback: the callback when set the Auto Assist Focus
method getAFAssistFocusEnable
void getAFAssistFocusEnable(CallbackWithOneParam<Boolean> callback);
Description: Gets Auto Assist Focus enable or not
Input params:
callback: the callback when get the Auto Assist Focus
method setMFAssistFocusEnable
void setMFAssistFocusEnable(boolean enable, CallbackWithNoParam callback);
Description: Set Manual Assist Focus enable or not
Input params:
enable: whether enable the Manual Assist Focus or not.
callback: the callback when set the Manual Assist Focus
method getMFAssistFocusEnable
void getMFAssistFocusEnable(CallbackWithOneParam<Boolean> callback);
Description: Gets Manual Assist Focus enable or not
Input params:
callback: the callback when get the Manual Assist Focus.
method setPIVMode
void setPIVMode(PIVMode mode, CallbackWithNoParam callback);
Description: Sets the PIV mode for XT701 camera.
Input params:
mode: the enum values of the PIV mode.
callback: the callback when set the PIV mode for XT701 camera.
method getPIVMode
void getPIVMode(CallbackWithOneParam<PIVMode> callback);
Description: Returns the PIV mode of XT701 camera.
Input params:
callback: the callback when get XT701 camera.
method setAutoPIVTimelapseInterval
void setAutoPIVTimelapseInterval(VideoSnapshotTimelapseInterval interval, CallbackWithNoParam callback);
Description: Sets the timelapse interval for the auto PIV mode.
Input params:
interval: the enum values of the timelapse interval.
callback: the callback when set the timelapse interval for the auto PIV mode.
method switchToPreviousPhotoMode
void switchToPreviousPhotoMode(CallbackWithOneParam<MediaMode> callback);
Description: Switches the camera from the record mode to the previous shoot mode.
Input params:
callback: the callback when switch the camera from the record mode to the previous shoot mode.
method setTrackingModeEnable
void setTrackingModeEnable(boolean enable, CallbackWithNoParam callback);
Description: Sets the tracking mode for XT701 camera.
Input params:
enable: whether enable the tracking mode for XT701 camera or not.
callback: the callback when set the tracking mode for XT701 camera.
method getSkylinePositionData
void getSkylinePositionData(int viewHeight, int gimPitch,
CallbackWithOneParam<SkylinePositionData> callback);
Description: Returns the position information of the horizontal line.
Input params:
viewHeight: the height of the view.
gimPitch: the gimbal pitch angle.
callback: the callback when get the position information of the horizontal line.
method setVideoEncodeFormat
void setVideoEncodeFormat(final VideoEncodeFormat encoding, CallbackWithNoParam callback);
Description: Set video recording format.
Input params:
encoding: the enum values of the encoding format.
callback: the callback when set the encoding format.
method getVideoEncodeFormat
void getVideoEncodeFormat(CallbackWithOneParam<VideoEncodeFormat> callback);
Description: Gets video recording format.
Input params:
callback: the callback when get the video recording format.
method setAlbumSaveLocation
void setAlbumSaveLocation(final SaveLocation saveLocation, CallbackWithNoParam callback);
Description: Set current camera storage location.
Input params:
saveLocation: the enum values of the SaveLocation
callback: the callback when set the current camera storage location.
Related params:SaveLocation
method getAlbumLocation
void getAlbumLocation(CallbackWithOneParam<SaveLocation> callback);
Description: Gets current camera storage location.
Input params:
callback: the callback when get the current camera storage location.
Related params:SaveLocation
method getFMCStatus
void getFMCStatus(CallbackWithOneParam<FlashCardStatus> callback);
Description: Gets flash card status.
Input params:
callback: the callback when get the flash card status.
method formatFlashMemoryCard
void formatFlashMemoryCard(CallbackWithNoParam callback);
Description: Format flash card.
Input params:
callback: the callback when format flash card.
method setHDREnable
void setHDREnable(boolean enable, CallbackWithNoParam callback);
Description: Set HDR function enable or not
Input params:
enable: whether enable the HDR function or not.
callback: the callback when set hdr function.
method getHDREnable
void getHDREnable(CallbackWithOneParam<Boolean> callback);
Description: Gets HDR function enable or not
Input params:
callback: the callback when get HDR function.
method setDeFogEnable
void setDeFogEnable(boolean enable, final CallbackWithNoParam callback);
Description: Set Defog function enable or not
Input params:
enable: whether enable the Defog function or not.
callback: the callback when set defog function.
method setDeFogStrength
void setDeFogStrength(int strength, final CallbackWithNoParam callback);
Description: Set defog intensity.
Input params:
strength: the integer between 1 and 10.
callback:the callback when set defog intensity.
method getDeFogParams
void getDeFogParams(final CallbackWithOneParam<DeFogParam> callback);
Description: Gets defog parameters
Input params:
callback:the callback when get defog parameters
method setImageRoiEnable
void setImageRoiEnable(boolean enable, final CallbackWithNoParam callback);
Description: Set ROI enable or not
Input params:
enable: ROI enable or not.
callback: the callback when set ROI.
method setImageRoiStrength
void setImageRoiStrength(int strength, final CallbackWithNoParam callback);
Description: Set ROI intensity
Input params:
strength: the integer between 1 and 10.
callback:the callback when set ROI intensity.
method setImageRoiArea
void setImageRoiArea(int x, int y, final CallbackWithNoParam callback);
Description: Set ROI area Spot Area
Input params:
x: raster No.x in horizontal
y: raster No.y in vertical
callback: callback when Set ROI area Spot Area
method getImageRoiParams
void getImageRoiParams(final CallbackWithOneParam<ImageRoiParam> callback);
Description: Gets ROI parameters.
Input params:
callback:the callback when get ROI parameters.
method setFocusMFSpotArea
void setFocusMFSpotArea(int x, int y, final CallbackWithNoParam iCompletionCallbackWith);
Description: Set MF metering point
Input params:
x: raster No.x in horizontal
y: raster No.y in vertical
iCompletionCallbackWith: the callback when set MF metering point
method getFocusMFSpotArea
void getFocusMFSpotArea(CallbackWithOneParam<SpotMeteringArea> callbackWithOneParam);
Description: Gets MF metering point.
Input params:
callback:the callback when get manual focus metering point.
Related params:SpotMeteringArea
method setMotionDelayShotInterval
void setMotionDelayShotInterval(int interval, CallbackWithNoParam callback);
Description: Set Time-lapse photography interval.
Input params:
interval:the integer between 2 and 15..
callback:the callback when set time-lapse photography interval.
method setMotionDelayShotInterval
void getMotionDelayShotInterval(CallbackWithOneParam<Integer> callback);
Description: Gets Time-lapse photography interval.
Input params:
callback:the callback when get time-lapse photography interval.
method getMotionDelayShotDuration
void getMotionDelayShotDuration(CallbackWithOneParam<Integer> callback);
Description: Gets Time-lapse photography interval
Input params:
callback: the callback when get time-lapse photography interval.
method setMotionDelayShotDuration
void setMotionDelayShotDuration (int duration, CallbackWithNoParam callback);
Description: Set Time-lapse video length
Input params:
duration: the value is video length.
callback: the callback when set time-lapse video length.
method setMotionDelayShotKeepPhoto
void setMotionDelayShotKeepPhoto(RawFormat rawFormat, CallbackWithNoParam callback);
Description: Set Time-lapse save or not and photo format.
Input params:
rawFormat: the enum values of the RawFormat
callback: the callback when set time-lapse save or not and photo format
method getMotionDelayShotKeepPhoto
void getMotionDelayShotKeepPhoto(CallbackWithOneParam<MotionPhotoInfo> callback);
Description: Gets Time-lapse photo format info
Input params:
callback: the callback when get the time-lapse photo format info.
method toRx
RxAutelXT701 toRx();
Description: Converts to ReactiveX interface..
Input params:no