Package 

Interface LivekitModels.ParticipantPermissionOrBuilder

    • Method Summary

      Modifier and Type Method Description
      abstract boolean getCanSubscribe()
      allow participant to subscribe to other tracks in the room
      
      bool can_subscribe = 1;
      abstract boolean getCanPublish()
      allow participant to publish new tracks to room
      
      bool can_publish = 2;
      abstract boolean getCanPublishData()
      allow participant to publish data
      
      bool can_publish_data = 3;
      abstract List<LivekitModels.TrackSource> getCanPublishSourcesList()
      sources that are allowed to be published
      
      repeated .livekit.TrackSource can_publish_sources = 9;
      abstract int getCanPublishSourcesCount()
      sources that are allowed to be published
      
      repeated .livekit.TrackSource can_publish_sources = 9;
      abstract LivekitModels.TrackSource getCanPublishSources(int index)
      sources that are allowed to be published
      
      repeated .livekit.TrackSource can_publish_sources = 9;
      abstract List<Integer> getCanPublishSourcesValueList()
      sources that are allowed to be published
      
      repeated .livekit.TrackSource can_publish_sources = 9;
      abstract int getCanPublishSourcesValue(int index)
      sources that are allowed to be published
      
      repeated .livekit.TrackSource can_publish_sources = 9;
      abstract boolean getHidden()
      indicates that it's hidden to others
      
      bool hidden = 7;
      abstract boolean getRecorder()
      indicates it's a recorder instance
      deprecated: use ParticipantInfo.kind instead
      
      bool recorder = 8 [deprecated = true];
      abstract boolean getCanUpdateMetadata()
      indicates that participant can update own metadata and attributes
      
      bool can_update_metadata = 10;
      abstract boolean getAgent()
      indicates that participant is an agent
      deprecated: use ParticipantInfo.kind instead
      
      bool agent = 11 [deprecated = true];
      abstract boolean getCanSubscribeMetrics()
      if a participant can subscribe to metrics
      
      bool can_subscribe_metrics = 12;
      • Methods inherited from class com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCanSubscribe

         abstract boolean getCanSubscribe()
        allow participant to subscribe to other tracks in the room
        
        bool can_subscribe = 1;
      • getCanPublish

         abstract boolean getCanPublish()
        allow participant to publish new tracks to room
        
        bool can_publish = 2;
      • getCanPublishData

         abstract boolean getCanPublishData()
        allow participant to publish data
        
        bool can_publish_data = 3;
      • getCanPublishSourcesCount

         abstract int getCanPublishSourcesCount()
        sources that are allowed to be published
        
        repeated .livekit.TrackSource can_publish_sources = 9;
      • getCanPublishSources

         abstract LivekitModels.TrackSource getCanPublishSources(int index)
        sources that are allowed to be published
        
        repeated .livekit.TrackSource can_publish_sources = 9;
        Parameters:
        index - The index of the element to return.
      • getCanPublishSourcesValue

         abstract int getCanPublishSourcesValue(int index)
        sources that are allowed to be published
        
        repeated .livekit.TrackSource can_publish_sources = 9;
        Parameters:
        index - The index of the value to return.
      • getHidden

         abstract boolean getHidden()
        indicates that it's hidden to others
        
        bool hidden = 7;
      • getRecorder

        @Deprecated() abstract boolean getRecorder()
        indicates it's a recorder instance
        deprecated: use ParticipantInfo.kind instead
        
        bool recorder = 8 [deprecated = true];
      • getCanUpdateMetadata

         abstract boolean getCanUpdateMetadata()
        indicates that participant can update own metadata and attributes
        
        bool can_update_metadata = 10;
      • getAgent

        @Deprecated() abstract boolean getAgent()
        indicates that participant is an agent
        deprecated: use ParticipantInfo.kind instead
        
        bool agent = 11 [deprecated = true];
      • getCanSubscribeMetrics

         abstract boolean getCanSubscribeMetrics()
        if a participant can subscribe to metrics
        
        bool can_subscribe_metrics = 12;