|
DVBLink Remote API Library documentation
0.2.0-Master
|
Class for set parental lock requests. More...
Public Member Functions | |
| SetParentalLockRequest (const std::string &clientId) | |
| Initializes a new instance of the dvblinkremote::SetParentalLockRequest class for disabling a parental lock. | |
| SetParentalLockRequest (const std::string &clientId, const std::string &code) | |
| Initializes a new instance of the dvblinkremote::SetParentalLockRequest class for enabling a parental lock. | |
| ~SetParentalLockRequest () | |
| Destructor for cleaning up allocated memory. | |
| std::string & | GetClientID () |
| Gets the unique identification string of the client. | |
| bool | IsEnabled () |
| Gets if the parental lock should be enabled or not for the set parental lock request. | |
| std::string & | GetCode () |
| Gets the parental lock code for the set parental lock request. | |
Class for set parental lock requests.
This is used as input parameter for the IDVBLinkRemoteConnection::SetParentalLock method.
| dvblinkremote::SetParentalLockRequest::SetParentalLockRequest | ( | const std::string & | clientId | ) |
Initializes a new instance of the dvblinkremote::SetParentalLockRequest class for disabling a parental lock.
| clientId | a constant string reference representing the unique identification string of the client. |
clientId should be the same across all DVBLink Client API calls from a given client. It can be a uuid for example or id/mac of the client device. | dvblinkremote::SetParentalLockRequest::SetParentalLockRequest | ( | const std::string & | clientId, |
| const std::string & | code | ||
| ) |
Initializes a new instance of the dvblinkremote::SetParentalLockRequest class for enabling a parental lock.
| clientId | a constant string reference representing the unique identification string of the client. |
| code | a constant string reference representing the parental lock code. |
clientId should be the same across all DVBLink Client API calls from a given client. It can be a uuid for example or id/mac of the client device. | dvblinkremote::SetParentalLockRequest::~SetParentalLockRequest | ( | ) |
Destructor for cleaning up allocated memory.
| std::string& dvblinkremote::SetParentalLockRequest::GetClientID | ( | ) |
Gets the unique identification string of the client.
| std::string& dvblinkremote::SetParentalLockRequest::GetCode | ( | ) |
Gets the parental lock code for the set parental lock request.
| bool dvblinkremote::SetParentalLockRequest::IsEnabled | ( | ) |
Gets if the parental lock should be enabled or not for the set parental lock request.