Loading...
Searching...
No Matches
AccelByte.Api.CloudStorage Class Reference
Inheritance diagram for AccelByte.Api.CloudStorage:

Public Member Functions

void GetAllSlots (ResultCallback< Slot[]> callback)
 Get all available slots.
void GetSlot (string slotId, ResultCallback< byte[]> callback)
 Get slot by slotId. Download data identified by slot id.
void CreateSlot (byte[] data, string dataName, ResultCallback< Slot > callback)
 Create a new slot and directly fill it with data.
void UpdateSlot (string slotId, byte[] data, string dataName, ResultCallback< Slot > callback)
 Update data for slot identified with slot id.
void UpdateSlotMetadata (string slotId, string[] tags, string label, string customMetadata, ResultCallback< Slot > callback)
 update metadata of a slot identified by it slot id.
void DeleteSlot (string slotId, ResultCallback callback)
 Delete slot identified by Slot Id.

Additional Inherited Members

Properties inherited from AccelByte.Core.WrapperBase
Utils.AccelByteIdValidator IdValidator [get]

Member Function Documentation

◆ CreateSlot()

void AccelByte.Api.CloudStorage.CreateSlot ( byte[] data,
string dataName,
ResultCallback< Slot > callback )
inline

Create a new slot and directly fill it with data.

Parameters
dataData to fill the slot
dataNameData name
callbackReturns a Result that contains Slot info via callback when completed.

◆ DeleteSlot()

void AccelByte.Api.CloudStorage.DeleteSlot ( string slotId,
ResultCallback callback )
inline

Delete slot identified by Slot Id.

Parameters
slotIdSlot Id to be deleted.
callbackReturns a Result via callback when completed

◆ GetAllSlots()

void AccelByte.Api.CloudStorage.GetAllSlots ( ResultCallback< Slot[]> callback)
inline

Get all available slots.

Parameters
callbackReturns a Result that contains Slot info array via callback when completed.

◆ GetSlot()

void AccelByte.Api.CloudStorage.GetSlot ( string slotId,
ResultCallback< byte[]> callback )
inline

Get slot by slotId. Download data identified by slot id.

Parameters
slotIdSlot Id, generated when a new slot is created
callbackReturns a Result that contains data via callback when completed.

◆ UpdateSlot()

void AccelByte.Api.CloudStorage.UpdateSlot ( string slotId,
byte[] data,
string dataName,
ResultCallback< Slot > callback )
inline

Update data for slot identified with slot id.

Parameters
slotIdSlot Id for slot to update data with
dataData to replace data already in slot
dataNameData name
callbackReturns a Result that contains Slot info via callback when completed.

◆ UpdateSlotMetadata()

void AccelByte.Api.CloudStorage.UpdateSlotMetadata ( string slotId,
string[] tags,
string label,
string customMetadata,
ResultCallback< Slot > callback )
inline

update metadata of a slot identified by it slot id.

Parameters
slotIdslot id of a slot
tagstags to be updated/added
labellabel to be updated/added
customMetadatacustom attribute tu be updated/added
callbackreturn a result that contain updated slot metadata after completed