Methods

  • The purpose of this command is to remove the selected time windows from the BlockContentTimeWindow attribute.

    Upon receipt of the RemoveBlockContentTimeWindow command, the media device shall check if the time window index passed in this command presents in the BlockContentTimeWindow attribute.

    If one or more time window indexes passed in this command are not present in BlockContentTimeWindow attribute, then a response with TimeWindowNotExist error status shall be returned.

    Returns MaybePromise

    MatterSpecification.v13.Cluster § 6.13.8.17

  • The purpose of this command is to set the BlockContentTimeWindow attribute.

    Upon receipt of the SetBlockContentTimeWindow command, the media device shall check if the

    TimeWindowIndex field passed in this command is NULL. If the TimeWindowIndex field is NULL, the media device shall check if there is an entry in the BlockContentTimeWindow attribute which matches with the TimePeriod and DayOfWeek fields passed in this command. * If Yes, then a response with TimeWindowAlreadyExist error status shall be returned. * If No, then the media device shall assign one unique index for this time window and add it into the BlockContentTimeWindow list attribute.

    If the TimeWindowIndex field is not NULL and presents in the BlockContentTimeWindow attribute, the media device shall replace the original time window with the new time window passed in this command.

    Returns MaybePromise

    MatterSpecification.v13.Cluster § 6.13.8.16