semilimes mcu sdk 1.1.3 semilimes Software Development Kit for microcontrollers

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ChannelCreate Class Reference

## Public Member Functions
| ~ChannelCreate ()
void | set (const char *title, const char *avatar, bool visible, bool locked)
void | addEditorsId (const char *data)
void | appendEditorsIds ()
char * | getEPurl ()
char * | getWSEPurl ()
char * | get ()

## Constructor & Destructor Documentation

## ◆ ~ChannelCreate()

ChannelCreate::~ChannelCreate | ( |  | ) |
| inline

Returns
  void

## Member Function Documentation

## ◆ addEditorsId()

void ChannelCreate::addEditorsId | ( | const char * | data | ) |

Parameters

  data | - the id of the editor to add

Returns
  void

## ◆ appendEditorsIds()

void ChannelCreate::appendEditorsIds | ( |  | ) |

Returns
  void

## ◆ get()

char * ChannelCreate::get | ( |  | ) |

Returns
  char*

## ◆ getEPurl()

char * ChannelCreate::getEPurl | ( |  | ) |

Returns
  char* sme_httpsUrl + endpoint

## ◆ getWSEPurl()

char * ChannelCreate::getWSEPurl | ( |  | ) |

Returns
  char* endpoint

## ◆ set()

void ChannelCreate::set | ( | const char * | title,
|  | const 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/sdk/semilimes MCU SDK/github/semilimes_mcu_sdk/src/communication/channel_create.h
- C:/Users/flavio_unige/Desktop/semilimes/sdk/semilimes MCU SDK/github/semilimes_mcu_sdk/src/communication/channel_create.cpp