Const
Readonly
attributes: { Readonly
remainingIndicates the remaining screen time (in seconds) which the User is allowed to spend watching TV for the current day when the Content Control feature is activated. When this value equals 0, the media device shall terminate the playback of content.
This attribute shall be updated when the AddBonusTime command is received and processed successfully (with the correct PIN).
Readonly
screenIndicates the amount of time (in seconds) which the User is allowed to spend watching TV within one day when the Content Control feature is activated.
Readonly
commands: { Readonly
addThe purpose of this command is to add the extra screen time for the user.
If a client with Operate privilege invokes this command, the media device shall check whether
the PINCode passed in the command matches the current PINCode value. If these match, then the RemainingScreenTime attribute shall be increased by the specified BonusTime value.
If the PINs do not match, then a response with InvalidPINCode error status shall be returned, and no changes shall be made to RemainingScreenTime.
If a client with Manage privilege or greater invokes this command, the media device shall ignore the PINCode field and directly increase the RemainingScreenTime attribute by the specified BonusTime value.
A server that does not support the PM feature shall respond with InvalidPINCode to clients that only have Operate privilege unless:
• It has been provided with the PIN value to expect via an out of band mechanism, and
• The client has provided a PINCode that matches the expected PIN value.
Readonly
setThe purpose of this command is to set the ScreenDailyTime attribute.
Upon receipt of the SetScreenDailyTime command, the media device shall set the ScreenDailyTime attribute to the ScreenTime value.
Readonly
events: { Readonly
remainingThis event shall be generated when the RemainingScreenTime equals 0.
A ContentControlCluster supports these elements if it supports feature ScreenTime.