◆ BucketUpdate()
BucketUpdate::BucketUpdate |
( |
char * | json, |
|
|
char * | jsonArray ) |
|
inline |
- Parameters
-
json | - it is the char array that will contain the whole json script
|
jsonArray | - it is a temporary char array that will contain the data components |
- Returns
- void
◆ addDataComponents()
void BucketUpdate::addDataComponents |
( |
char * | component | ) |
|
- Parameters
-
component | - the json script of the dataComponent to add |
- Returns
- void
◆ appendDataComponents()
void BucketUpdate::appendDataComponents |
( |
| ) |
|
◆ getEPurl()
char * BucketUpdate::getEPurl |
( |
| ) |
|
- Returns
- char* httpsUrl + endpoint
◆ setObj()
void BucketUpdate::setObj |
( |
char * | bucketId, |
|
|
char * | title, |
|
|
char * | description, |
|
|
char * | avatar, |
|
|
bool | visible, |
|
|
bool | locked, |
|
|
bool | enReactions ) |
- Parameters
-
bucketId | - is the unique Id to reference an existing bucket |
title | - sets the bucket title |
description | - sets the bucket description |
avatar | - takes a fileId (obtained by a File Upload endpoint) and sets the main avatar image of the bucket |
visible | - sets the bucket general visibility. If set to false, the bucket will be only visible to its creator |
locked | - sets the bucket’s general edit permissions. If set to true, its content cannot be interacted by other users |
enReactions | - allows other users to post reactions (e.g. likes) to bucket’s content |
- Returns
- void
The documentation for this class was generated from the following files:
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/communication/bucket_update.h
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/communication/bucket_update.cpp