Package 

Class LivekitRtc.PublishDataTrackRequest.Builder

    • Method Summary

      Modifier and Type Method Description
      int getPubHandle()
      Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
      This must be non-zero and unique for each data track published by the publisher.
      
      uint32 pub_handle = 1;
      LivekitRtc.PublishDataTrackRequest.Builder setPubHandle(int value)
      Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
      This must be non-zero and unique for each data track published by the publisher.
      
      uint32 pub_handle = 1;
      LivekitRtc.PublishDataTrackRequest.Builder clearPubHandle()
      Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
      This must be non-zero and unique for each data track published by the publisher.
      
      uint32 pub_handle = 1;
      String getName()
      Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
      This must be non-empty and no longer than 256 characters.
      
      string name = 2;
      ByteString getNameBytes()
      Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
      This must be non-empty and no longer than 256 characters.
      
      string name = 2;
      LivekitRtc.PublishDataTrackRequest.Builder setName(String value)
      Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
      This must be non-empty and no longer than 256 characters.
      
      string name = 2;
      LivekitRtc.PublishDataTrackRequest.Builder clearName()
      Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
      This must be non-empty and no longer than 256 characters.
      
      string name = 2;
      LivekitRtc.PublishDataTrackRequest.Builder setNameBytes(ByteString value)
      Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
      This must be non-empty and no longer than 256 characters.
      
      string name = 2;
      int getEncryptionValue()
      Method used for end-to-end encryption (E2EE) on frame payloads.
      
      .livekit.Encryption.Type encryption = 3;
      LivekitRtc.PublishDataTrackRequest.Builder setEncryptionValue(int value)
      Method used for end-to-end encryption (E2EE) on frame payloads.
      
      .livekit.Encryption.Type encryption = 3;
      LivekitModels.Encryption.Type getEncryption()
      Method used for end-to-end encryption (E2EE) on frame payloads.
      
      .livekit.Encryption.Type encryption = 3;
      LivekitRtc.PublishDataTrackRequest.Builder setEncryption(LivekitModels.Encryption.Type value)
      Method used for end-to-end encryption (E2EE) on frame payloads.
      
      .livekit.Encryption.Type encryption = 3;
      LivekitRtc.PublishDataTrackRequest.Builder clearEncryption()
      Method used for end-to-end encryption (E2EE) on frame payloads.
      
      .livekit.Encryption.Type encryption = 3;
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        mergeDelimitedFrom
      • Methods inherited from class com.google.protobuf.MessageLite.Builder

        build, buildPartial, clear, clone, mergeFrom
      • Methods inherited from class com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType
      • Methods inherited from class java.lang.Object

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

      • getPubHandle

         int getPubHandle()
        Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
        This must be non-zero and unique for each data track published by the publisher.
        
        uint32 pub_handle = 1;
      • setPubHandle

         LivekitRtc.PublishDataTrackRequest.Builder setPubHandle(int value)
        Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
        This must be non-zero and unique for each data track published by the publisher.
        
        uint32 pub_handle = 1;
        Parameters:
        value - The pubHandle to set.
      • getName

         String getName()
        Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
        This must be non-empty and no longer than 256 characters.
        
        string name = 2;
      • getNameBytes

         ByteString getNameBytes()
        Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
        This must be non-empty and no longer than 256 characters.
        
        string name = 2;
      • setName

         LivekitRtc.PublishDataTrackRequest.Builder setName(String value)
        Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
        This must be non-empty and no longer than 256 characters.
        
        string name = 2;
        Parameters:
        value - The name to set.
      • setNameBytes

         LivekitRtc.PublishDataTrackRequest.Builder setNameBytes(ByteString value)
        Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
        This must be non-empty and no longer than 256 characters.
        
        string name = 2;
        Parameters:
        value - The bytes for name to set.
      • getEncryptionValue

         int getEncryptionValue()
        Method used for end-to-end encryption (E2EE) on frame payloads.
        
        .livekit.Encryption.Type encryption = 3;