IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OIC::Service::NSMediaContents Class Reference

This class provides a set of APIs for Notification service Media Contents. More...

Public Member Functions

 NSMediaContents ()=default
 Constructor of NSMediaContents. More...
 
 NSMediaContents (::NSMediaContents *mediacontents)
 Constructor of NSMediaContents. More...
 
 NSMediaContents (const std::string &iconImage)
 Constructor of NSMediaContents. More...
 
 ~NSMediaContents ()=default
 Destructor of NSMediaContents. More...
 
std::string getIconImage () const
 This method is for getting icon image from the Notification service media contents. More...
 
void setIconImage (const std::string &iconImage)
 This method is for setting icon image for the Notification service media contents. More...
 

Detailed Description

This class provides a set of APIs for Notification service Media Contents.

Constructor & Destructor Documentation

OIC::Service::NSMediaContents::NSMediaContents ( )
default

Constructor of NSMediaContents.

OIC::Service::NSMediaContents::NSMediaContents ( ::NSMediaContents mediacontents)

Constructor of NSMediaContents.

Parameters
mediacontents- pointer to NSMediaContents struct to initialize.
OIC::Service::NSMediaContents::NSMediaContents ( const std::string &  iconImage)
inline

Constructor of NSMediaContents.

Parameters
iconImage- iconImage of the Notification service MediaContents.
OIC::Service::NSMediaContents::~NSMediaContents ( )
default

Destructor of NSMediaContents.

Member Function Documentation

std::string OIC::Service::NSMediaContents::getIconImage ( ) const

This method is for getting icon image from the Notification service media contents.

Returns
iconImage as string.
void OIC::Service::NSMediaContents::setIconImage ( const std::string &  iconImage)

This method is for setting icon image for the Notification service media contents.

Parameters
iconImage- as string.

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