setCurrentDevice abstract method

int setCurrentDevice(
  1. TXMediaDeviceType type,
  2. String deviceId
)

Setting the Device to Use (for Desktop OS)

Return Description:

  • 0: Operation successful;
  • Negative number: Operation failed.

Implementation

int setCurrentDevice(TXMediaDeviceType type, String deviceId);