Example #1
0
  /**
   * Updates the current call's properties (ex. call mode change: video upgrade / downgrade).
   *
   * @param callType call type specified in {@link ImsCallProfile} to be updated
   * @param profile stream media profile {@link ImsStreamMediaProfile} to be updated
   * @see Listener#callSessionUpdated, Listener#callSessionUpdateFailed
   */
  public void update(int callType, ImsStreamMediaProfile profile) {
    if (mClosed) {
      return;
    }

    try {
      miSession.update(callType, profile);
    } catch (RemoteException e) {
    }
  }