◆ ChannelCreate()
ChannelCreate::ChannelCreate |
( |
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 Editors |
- Returns
- void
◆ addEditorsIds()
void ChannelCreate::addEditorsIds |
( |
char * | data | ) |
|
- Parameters
-
data | - the id of the editor to add |
- Returns
- void
◆ appendEditorsIds()
void ChannelCreate::appendEditorsIds |
( |
| ) |
|
◆ getEPurl()
char * ChannelCreate::getEPurl |
( |
| ) |
|
- Returns
- char* httpsUrl + endpoint
◆ setObj()
void ChannelCreate::setObj |
( |
char * | title, |
|
|
char * | avatar, |
|
|
bool | visible, |
|
|
bool | locked ) |
- Parameters
-
title | - sets the channel title |
avatar | - takes a fileId (obtained by a File Upload endpoint) and sets the main avatar image of the channel |
visible | - sets the channel general visibility. If set to false, the channel will be only visible to its creator |
locked | - sets the channel's general edit permissions. If set to true, its content cannot be interacted by other users |
- Returns
- void
The documentation for this class was generated from the following files:
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/communication/channel_create.h
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/communication/channel_create.cpp