android/src/main/java/com/oney/WebRTCModule/WebRTCModule.java
/**
     * Parses a constraint set specified in the form of a JavaScript object into
     * a specific <tt>List</tt> of <tt>MediaConstraints.KeyValuePair</tt>s.
     *
     * @param src The constraint set in the form of a JavaScript object to
     * parse.
     * @param dst The <tt>List</tt> of <tt>MediaConstraints.KeyValuePair</tt>s
     * into which the specified <tt>src</tt> is to be parsed.
     */
Parses a constraint set specified in the form of a JavaScript object into
a specific List of MediaConstraints.KeyValuePairs.

@param src The constraint set in the form of a JavaScript object to
parse.
@param dst The List of MediaConstraints.KeyValuePairs
into which the specified src is to be parsed.
Parses a constraint set specified in the form of a JavaScript object into a specific List of MediaConstraints . KeyValuePairs . @param src The constraint set in the form of a JavaScript object to parse . @param dst The List of MediaConstraints . KeyValuePairs into which the specified src is to be parsed .
private void parseConstraints(
            ReadableMap src,
            List<MediaConstraints.KeyValuePair> dst) {
        ReadableMapKeySetIterator keyIterator = src.keySetIterator();
        while (keyIterator.hasNextKey()) {
            String key = keyIterator.nextKey();
            String value = ReactBridgeUtil.getMapStrValue(src, key);
            dst.add(new MediaConstraints.KeyValuePair(key, value));
        }
    }
private void parseConstraints ( ReadableMap src , List < MediaConstraints . KeyValuePair > dst ) { ReadableMapKeySetIterator keyIterator = src . keySetIterator ( ) ; while ( keyIterator . hasNextKey ( ) ) { String key = keyIterator . nextKey ( ) ; String value = ReactBridgeUtil . getMapStrValue ( src , key ) ; dst . add ( new MediaConstraints . KeyValuePair ( key , value ) ) ; } }
Parses a constraint set specified in the form of a JavaScript object into
 a specific <tt>List</tt> of <tt>MediaConstraints.KeyValuePair</tt>s.
Parses a constraint set specified in the form of a JavaScript object into a specific <tt > List< / tt > of <tt > MediaConstraints . KeyValuePair< / tt > s .