Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PVR::CPVRGUIActionsParentalControl Class Reference

#include <PVRGUIActionsParentalControl.h>

Inheritance diagram for PVR::CPVRGUIActionsParentalControl:
PVR::IPVRComponent

Public Member Functions

 CPVRGUIActionsParentalControl ()
 
 ~CPVRGUIActionsParentalControl () override=default
 
ParentalCheckResult CheckParentalLock (const std::shared_ptr< const CPVRChannel > &channel) const
 Check if channel is parental locked. Ask for PIN if necessary.
 
ParentalCheckResult CheckParentalPIN () const
 Open Numeric dialog to check for parental PIN.
 
- Public Member Functions inherited from PVR::IPVRComponent
virtual ~IPVRComponent ()=default
 

Constructor & Destructor Documentation

◆ CPVRGUIActionsParentalControl()

CPVRGUIActionsParentalControl::CPVRGUIActionsParentalControl ( )

◆ ~CPVRGUIActionsParentalControl()

PVR::CPVRGUIActionsParentalControl::~CPVRGUIActionsParentalControl ( )
overridedefault

Member Function Documentation

◆ CheckParentalLock()

ParentalCheckResult CPVRGUIActionsParentalControl::CheckParentalLock ( const std::shared_ptr< const CPVRChannel > & channel) const

Check if channel is parental locked. Ask for PIN if necessary.

Parameters
channelThe channel to do the check for.
Returns
the result of the check (success, failed, or canceled by user).

◆ CheckParentalPIN()

ParentalCheckResult CPVRGUIActionsParentalControl::CheckParentalPIN ( ) const

Open Numeric dialog to check for parental PIN.

Returns
the result of the check (success, failed, or canceled by user).

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