on Activity Result
Returns data results when the activity finishes.
In onClick, you may start a new activity in two ways:
1. Using startActivityForResult — you need to handle the result in the corresponding Activity's Activity#onActivityResult(int, int, Intent).
2. Using startActivityForPluginResult — after ChannelFragment receives Activity#onActivityResult(int, int, Intent), you must call onActivityPluginResult so that RongExtension can return the data result through IPluginModule's onActivityResult method.
Parameters
request Code
The request code used when starting the activity; will not exceed 255.
result Code
The result code returned when the activity finishes.
data
The returned data.