Class SubscribeRulesUpdater


  • public class SubscribeRulesUpdater
    extends Updater<SubscribeRules>
    PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
    • Constructor Detail

      • SubscribeRulesUpdater

        public SubscribeRulesUpdater​(String pathRoomSid,
                                     String pathParticipantSid)
        Construct a new SubscribeRulesUpdater.
        Parameters:
        pathRoomSid - Unique Room identifier where the Subscribe Rules apply
        pathParticipantSid - Unique Participant identifier to apply Subscribe Rules.
    • Method Detail

      • setRules

        public SubscribeRulesUpdater setRules​(Map<String,​Object> rules)
        A JSON-encoded array of Subscribe Rules. See the [Specifying Subscribe Rules](https://www.twilio.com/docs/video/api/track-subscriptions#specifying-sr) section for further information..
        Parameters:
        rules - A JSON-encoded array of Subscribe Rules.
        Returns:
        this