/* Create an AccessManager - this provides a single place to update your Twilio 
Access Token when using multiple Twilio SDKs */
accessManager = TwilioAccessManagerFactory
  .createAccessManager(ConversationActivity.this, TWILIO_ACCESS_TOKEN, accessManagerListener());

// Create a Conversations Client and listen for IncomingInvites
conversationsClient = TwilioConversationsClient
    .create(accessManager, conversationsClientListener());
conversationsClient.listen();

private TwilioConversationsClient.Listener conversationsClientListener() {
  return new TwilioConversationsClient.Listener() {
    @Override
    public void onStartListeningForInvites(TwilioConversationsClient conversationsClient) {
      Log.i(TAG, "Connected to Twilio!");
    }

    ...

    @Override
    public void onIncomingInvite(TwilioConversationsClient conversationsClient, 
                                 IncomingInvite incomingInvite) {
      // Selectively handle IncomingInvites based on the originator
      if (incomingInvite.getInvitee().equals("ringo")) {
        incomingInvite.reject();
      } else {
      /* See the "Specify Local Media Constraints when Creating a Conversation"
        guide for instructions on constructing LocalMedia */
        invite.accept(localMedia, new ConversationCallback());
      }
    }

    ...

  };
}

@@ -72,18 +72,17 @@
 r Twilio
- 
 %0A
+
 Access T
@@ -137,22 +137,16 @@
 nager = 
-Twilio
 AccessMa
@@ -154,38 +154,15 @@
 ager
-Factory%0A  .createAccessManager
+.create
 (Con
@@ -184,16 +184,20 @@
 ty.this,
+%0A   
  TWILIO_
@@ -823,17 +823,16 @@
 sClient,
- 
 %0A       

update accept or reject invite for android video