Class Publisher.Builder

java.lang.Object
com.opentok.android.PublisherKit.Builder
com.opentok.android.Publisher.Builder
Enclosing class:
Publisher

public static class Publisher.Builder extends PublisherKit.Builder
Used to build a Publisher object. Instantiate a Builder object using the Publisher.Builder(Context context) constructor. Then call methods of the Builder instance to add settings for the publisher. (Note that the Publisher.Builder class inherits methods from the PublisherKit.Builder class.) Then call the build() method, which returns a Publisher object.

Use the Session.publish(PublisherKit publisher) method to start streaming from the publisher into a session.