queryAlbumFileIndexs(params: Object)
Requires:
P2PKit≥1.0.0@ray-js/ray≥1.3.15
Platforms:
iOSAndroid
Description
Query the device’s album file index information
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
deviceId | string | Yes | Device ID |
albumName | string | Yes | albumName, provided by the device |
complete | () => void | No | Completion callback (executed on both success and failure) |
success | (params: Object) => void | No | Callback on successful API call |
fail | (params: Object) => void | No | Failure callback |
success callback parameters
| Property | Type | Description | P2PKit Since |
|---|---|---|---|
count | number | File count | v2.0.2 |
| File index information | v2.0.2 |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None