DevicePerformance

object DevicePerformance
kotlin.Any
   ↳ com.google.android.gms.deviceperformance.DevicePerformance

Entry point for the Device Performance API client.

Summary

Public methods

DevicePerformanceClient
getClient(context: Context)

Creates a new instance of DevicePerformanceClient.

DevicePerformanceClient
getClient(activity: Activity)

Creates a new instance of DevicePerformanceClient.

Public methods

getClient

fun getClient(context: Context): DevicePerformanceClient

Creates a new instance of DevicePerformanceClient.

Parameters
context: Context the context that is using this client

getClient

fun getClient(activity: Activity): DevicePerformanceClient

Creates a new instance of DevicePerformanceClient. A dialog may appear when the provided activity is in the foreground and the client needs to be updated.

Parameters
activity: Activity the activity that is using this client