onActivityResult

public abstract void onActivityResult(int requestCode, int resultCode, Intent data)

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

requestCode

The request code used when starting the activity; will not exceed 255.

resultCode

The result code returned when the activity finishes.

data

The returned data.