Contents Transfer with remote control

GetRemoteTransferCapturedDateList

Overview

Get captured date list in selected media.

This function is the first function to call when pulling out the content in the camera.

Definition

CrError GetRemoteTransferCapturedDateList(CrDeviceHandle deviceHandle, CrSlotNumber slotNumber, CrCaptureDate** captureDateList, CrInt32u* nums);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrSlotNumber

slotNumber
Specifies the slot from which to get the date list.

Output parameters

Type

Explanation

CrCaptureDate**

captureDateList
CrCaptureDate list pointer.

CrInt32u*

nums
Number of list of CrCaptureDate.

Return value

Type

Explanation

CrError

CrError_None on Success (Include case that nothing contents in media)
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

GetRemoteTransferContentsInfoList

Overview

Get the list of contents info at selected date in selected media.

Definition

CrError GetRemoteTransferContentsInfoList(CrDeviceHandle deviceHandle, CrSlotNumber slotNumber, CrGetContentsInfoListType type, CrCaptureDate* captureDate, CrInt32u maxNums, CrContentsInfo** contentsInfoList, CrInt32u* nums);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrSlotNumber

slotNumber
Specifies the slot from which to get the date list.

CrGetContentsInfoListType

type
Specifies the type of get contents info range.

CrCaptureDate*

captureDate
Specifies base datetime at get contents info.

CrInt32u

maxNums
Specifies max count of get contents info.

Output parameters

Type

Explanation

CrContentsInfo**

contentsInfoList
CrContentsInfo list pointer.

CrInt32u*

nums
Number of list of CrContentsInfo.

Return value

Type

Explanation

CrError

CrError_None on Success (Include case that nothing contents in media)
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

GetRemoteTransferContentsData

Overview

Get the contents from media. Data has receive at callback argument.

This api not support for transfer movie contents.

See: IDeviceCallback::OnNotifyRemoteTransferResult

Definition

CrError GetRemoteTransferContentsData(CrDeviceHandle deviceHandle, CrSlotNumber slotNumber, CrInt32u contentsId, CrInt32u fileId, CrInt32u divisionSize);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrSlotNumber

slotNumber
Specifies the slot from which to get the date list.

CrInt32u

contentsId
Specifies the target contents id that get from CrContentsInfo.

CrInt32u

fileId
Specifies the target file id that get from CrContentsInfo.

CrInt32u

divisionSize
Specifies the size of division when transfer content.
Max size is “CrREMOTETRANSFER_PARTIAL_FILE_SIZE_MAX”
Output parameters

None

Return value

Type

Explanation

CrError

CrError_None on Success
CrError_RemoteTransfer_VideoFileNotSupported on target contents is video.
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

GetRemoteTransferContentsDataFile

Overview

Get the contents from media, then write data to file. Written file path has receive at callback argument.

See: IDeviceCallback::OnNotifyRemoteTransferResult

Definition

CrError GetRemoteTransferContentsDataFile(CrDeviceHandle deviceHandle, CrSlotNumber slotNumber, CrInt32u contentsId, CrInt32u fileId, CrInt32u divisionSize, CrChar* path, CrChar* fileName);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrSlotNumber

slotNumber
Specifies the slot from which to get the date list.

CrInt32u

contentsId
Specifies the target contents id that get from CrContentsInfo.

CrInt32u

fileId
Specifies the target file id that get from CrContentsInfo.

CrInt32u

divisionSize
Specifies the size of division when transfer content.
Max size is “CrREMOTETRANSFER_PARTIAL_FILE_SIZE_MAX”

CrChar*

path
This parameter is optional.
If not specified, the path specified in the second parameter of SetSaveInfo will be used. To do this, use SetSaveInfo to change the save destination path in advance. If a path that does not exist in this parameter is specified, or if this parameter is not specified and SetSaveInfo is not used, normal operation of content transfer cannot be guaranteed.

CrChar*

fileName
This parameter is optional.
If not specified, the content will be saved with the file name.
If the file name conflicts with an existing file, an additional number is appended after the file name like DSC01234(1).JPG.
Output parameters

None

Return value

Type

Explanation

CrError

CrError_None on Success
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

ControlGetRemoteTransferContentsDataFile

Overview

Control contents transfer by GetRemoteTransferContentsDataFile().

Definition

CrError ControlGetRemoteTransferContentsDataFile(CrDeviceHandle deviceHandle, CrGetContentsDataControlType type);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrGetContentsDataControlType

Output parameters

None

Return value

Type

Explanation

CrError

CrError_None on Success
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

GetRemoteTransferContentsCompressedData

Overview

Get the compressed contents from media. Data has receive at callback argument.

See: IDeviceCallback::OnNotifyRemoteTransferResult

Definition

CrError GetRemoteTransferContentsCompressedData(CrDeviceHandle deviceHandle, CrSlotNumber slotNumber, CrInt32u contentsId, CrInt32u fileId, CrGetContentsCompressedDataType type);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrSlotNumber

slotNumber
Specifies the slot from which to get the date list.

CrInt32u

contentsId
Specifies the target contents id that get from CrContentsInfo.

CrInt32u

fileId
Specifies the target file id that get from CrContentsInfo.

CrGetContentsCompressedDataType

type
Specifies the compress size.
Output parameters

None

Return value

Type

Explanation

CrError

CrError_None on Success
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

GetRemoteTransferContentsCompressedDataFile

Overview

Get the compressed contents from media, then write data to file. Written file path has receive at callback argument.

See: IDeviceCallback::OnNotifyRemoteTransferResult

Definition

CrError GetRemoteTransferContentsCompressedDataFile(CrDeviceHandle deviceHandle, CrSlotNumber slotNumber, CrInt32u contentsId, CrInt32u fileId, CrGetContentsCompressedDataType type, CrChar* path, CrChar* fileName);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrSlotNumber

slotNumber
Specifies the slot from which to get the date list.

CrInt32u

contentsId
Specifies the target contents id that get from CrContentsInfo.

CrInt32u

fileId
Specifies the target file id that get from CrContentsInfo.

CrGetContentsCompressedDataType

type
Specifies the compress size.

CrChar*

path
Specifies the path of file that write receive data.

CrChar*

filename
Specifies the name of file that write receive data.
Output parameters

None

Return value

Type

Explanation

CrError

CrError_None on Success
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

ReleaseRemoteTransferCapturedDateList

Overview

This function releases the CrCaptureDate allocated by GetRemoteTransferCapturedDateList.

Definition

CrError ReleaseRemoteTransferCapturedDateList(CrDeviceHandle deviceHandle, CrCaptureDate* dateList);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrCaptureDate*

dateList
Captured date list pointer to release.
Output parameters

None

Return value

Type

Explanation

CrError

CrError_None on Success
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

ReleaseRemoteTransferContentsInfoList

Overview

This function releases the CrContentsInfo allocated by GetRemoteTransferContentsInfoList.

Definition

CrError ReleaseRemoteTransferContentsInfoList(CrDeviceHandle deviceHandle, CrContentsInfo* contentsInfoList);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrContentsInfo*

contentsInfoList
Contents info list pointer to release.
Output parameters

None

Return value

Type

Explanation

CrError

CrError_None on Success
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular

DeleteRemoteTransferContentsFile

Overview

Delete the contents from media.

Definition

CrError DeleteRemoteTransferContentsFile(CrDeviceHandle deviceHandle, CrSlotNumber slotNumber, CrInt32u contentsId)

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrSlotNumber

slotNumber
the number of camera slot.

CrInt32u

contentsId
ID of contents.
Output parameters

None

Return value

Type

Explanation

CrError

CrError_None on Success
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular