getCloudServiceStatus
Requires:
@ray-js/lock-sdk≥1.2.0
Method signature
getCloudServiceStatus()Description
Get cloud storage service status (purchased or not / remaining days, etc.)
Parameters
None
Return Value
Type: Promise<CloudServiceStatus>
Cloud storage service status
CloudServiceStatus
| Property | Type | Description |
|---|---|---|
isExit | boolean | Whether a valid service window exists |
duration | number | Remaining days of video cloud storage |
imgDuration | number | Remaining days of image cloud storage |
hasPurchasedOrder | boolean | true = has active/future orders; false = never purchased or expired |
isFree | boolean | true = gifted, false = self-purchased |