pyrokid_cxr_clientm.extend.controllers¶
com.rokid.cxr.client-m:1.0.4 - extend/controllers/ in Python
extend.controllers namespaces contains FileController and WifiController
- class pyrokid_cxr_clientm.extend.controllers.FileController[source]¶
Bases:
objectcom.rokid.cxr.client.extend.controllers.FileController Java class in Python
- class Callback[source]¶
Bases:
ABCcom.rokid.cxr.client.extend.controllers.FileController.Callback Interface - Please extend this class and implement the methods!
- a = None¶
mContext
- autoDelete: bool = True¶
- b: str¶
savePath?
- c: list[str]¶
filePathStringList
- d: str = None¶
fileToDownload
- static deleteFile(fileController: FileController, filePath: str) None[source]¶
- static downloadFile(fileController: FileController, fileList: list[FileData], fileIndex: int)[source]¶
- e: bool¶
- g: int¶
- static generateMediaPaths(cxrMediaTypeArr: list[CxrMediaType]) list[str][source]¶
- static getInstance() FileController[source]¶
- h: bool = False¶
- i = None¶
mFetchFileListCall
- j: bool = False¶
FetchFileList is running
- k = None¶
mDownloadFileCall
- l: bool = False¶
DownloadFile is running
- m = None¶
mReportDownloadCall
- n: bool = False¶
ReportDownload is running
- o = None¶
mDeleteFileCall
- p: bool = False¶
DeleteFile is running
- q: ApkStatusCallback = None¶
- r = None¶
mUploadApkCall
- s: bool = False¶
UploadApk is running
- startDownload(context, savePath: str, types: list[CxrMediaType], fileToDownload: str, ipAddress: str, callback: Callback) None[source]¶
- startUploadApk(file, ipAddress: str, apkStatusCallback: ApkStatusCallback) None[source]¶
- t = ['/storage/emulated/0/Recordings', '/storage/emulated/0/DCIM/Camera', '/storage/emulated/0/Movies/Camera']¶
- class pyrokid_cxr_clientm.extend.controllers.WifiController[source]¶
Bases:
objectcom.rokid.cxr.client.extend.controllers.WifiController Java class to Python
- class Callback[source]¶
Bases:
ABCcom.rokid.cxr.client.extend.controllers.WifiController.Callback Interface - Please extend this class and implement the methods
- abstractmethod onStatusUpdate(cxrStatus: CxrStatus, cxrWifiErrorCode: CxrWifiErrorCode) None[source]¶
- a = None¶
mContext
- d: str = None¶
mDeviceName
- deinit(cxrWifiErrorCode: CxrWifiErrorCode) CxrStatus[source]¶
- static getInstance() WifiController[source]¶
- n: int = 0¶
mRetryCount
- o: bool = False¶
mIsConnected
- updateStatus(cxrStatus: CxrStatus, cxrWifiErrorCode: CxrWifiErrorCode) None[source]¶