use of com.google.firebase.example.perf.kotlin.model.User in project snippets-android by firebase.
the class MainActivity method piiExamples.
public void piiExamples() {
Trace trace = FirebasePerformance.getInstance().newTrace("trace");
User user = new User();
// [START perf_attr_no_pii]
trace.putAttribute("experiment", "A");
// [END perf_attr_no_pii]
// [START perf_attr_pii]
trace.putAttribute("email", user.getEmailAddress());
// [END perf_attr_pii]
}