Backend.CDN.Content.Local.Delete
public bool Backend.CDN.Content.Local.Delete(List< string > chartIdList, out Exception exception);\ public void Backend.CDN.Content.Local.Delete(List< string > chartIdList, Action< bool, Exception > callback);
Parameter
Value | Type | Description |
---|---|---|
chartIdList | List< string > | Deletes locally saved charts. |
Description
Deletes locally saved charts.
- This method cannot be called using SendQueue.
Example
Synchronous
var chartIdList = new List<string>()
{
"12038", "546", "7419"
};
var isSuccess = Backend.CDN.Content.Local.Delete(chartIdList, out var exception);
if (isSuccess)
{
// When the request is successful, writes processing code.
}
Asynchronous
var chartIdList = new List<string>()
{
"12038", "546", "7419"
};
Backend.CDN.Content.Local.Delete(chartIdList, (isSuccess, exception) =>
{
if (isSuccess)
{
// When the request is successful, writes processing code.
}
});