libnx v4.12.0
Loading...
Searching...
No Matches
Data Structures | Functions
pctl.h File Reference

Parental Controls service IPC wrapper. More...

#include "../types.h"
#include "../kernel/event.h"
#include "../sf/service.h"

Go to the source code of this file.

Data Structures

struct  PctlRestrictionSettings
 

Functions

Result pctlInitialize (void)
 Initialize pctl.
 
void pctlExit (void)
 Exit pctl.
 
Service * pctlGetServiceSession (void)
 Gets the Service object for the actual pctl service session.
 
Service * pctlGetServiceSession_Service (void)
 Gets the Service object for IParentalControlService.
 
Result pctlIsRestrictionTemporaryUnlocked (bool *flag)
 Gets whether Parental Controls restrictions are temporarily unlocked.
 
Result pctlConfirmStereoVisionPermission (void)
 Confirm whether VrMode is allowed. Only available with [4.0.0+].
 
Result pctlIsRestrictionEnabled (bool *flag)
 Gets whether Parental Controls are enabled.
 
Result pctlGetSafetyLevel (u32 *safety_level)
 Gets whether Parental Controls are enabled.
 
Result pctlGetCurrentSettings (PctlRestrictionSettings *settings)
 Returns the current restrictions settings.
 
Result pctlGetFreeCommunicationApplicationListCount (u32 *count)
 Gets the count of applications that have free communication.
 
Result pctlResetConfirmedStereoVisionPermission (void)
 Reset the confirmation done by pctlConfirmStereoVisionPermission. Only available with [5.0.0+].
 
Result pctlIsStereoVisionPermitted (bool *flag)
 Gets whether VrMode is allowed. Only available with [5.0.0+].
 
Result pctlIsPairingActive (bool *flag)
 Confirm whether pairing is active.
 
Result pctlGetSynchronizationEvent (Event *out_event)
 Returns the synchronization event.
 
Result pctlGetPlayTimerEventToRequestSuspension (Event *out_event)
 Returns the supension event.
 
Result pctlIsPlayTimerAlarmDisabled (bool *flag)
 Confirm whether play timer alarm is disabled. Only available with [4.0.0+].
 
Result pctlGetUnlinkedEvent (Event *out_event)
 Returns the unlinked event.
 

Detailed Description

Parental Controls service IPC wrapper.

Author
yellows8