semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
AddAccountFeed Class Reference

Public Member Functions

 AddAccountFeed (char *json, char *jsonArray)
 
void setObj (char *title, char *description, char *avatar, bool visible, bool locked, bool enReaction)
 
void addDataComponents (char *data)
 
void appendDataComponents ()
 

Constructor & Destructor Documentation

◆ AddAccountFeed()

AddAccountFeed::AddAccountFeed ( char * json,
char * jsonArray )
inline
Parameters
json- it is the char array that will contain the whole json script
Returns
void

Member Function Documentation

◆ addDataComponents()

void AddAccountFeed::addDataComponents ( char * data)
Parameters
data- the json description of the data component
Returns
void

◆ appendDataComponents()

void AddAccountFeed::appendDataComponents ( )
Returns
void

◆ setObj()

void AddAccountFeed::setObj ( char * title,
char * description,
char * avatar,
bool visible,
bool locked,
bool enReaction )
Parameters
title- sets the feed title
description- sets the feed description
avatar- takes a fileId (obtained by a File Upload endpoint) and sets the main avatar image of the feed
locked- define the feed 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 feed’s content
Returns
void

The documentation for this class was generated from the following files: