newIntent

public final Intent newIntent(Context context, ByteArray faceCrop, HashMap<String, String> metadata)

Method to create a new Intent for PersonDetailActivity

Return

Intent - the intent to start the activity

Parameters

context
  • activity from which the intent is created

faceCrop
  • face crop of the person (returned by the server)

metadata
  • metadata of the person (returned by the server)