目录

ActivityIdentification

Class Info

public class ActivityIdentification

Entry to the activity identification service, which is used to obtain an ActivityIdentificationService instance.

Public Method Summary

Qualifier and Type

Method Name and Description

static ActivityIdentificationService

getService(Activity activity)

Creates an ActivityIdentificationService instance, which is used in Activity.

static ActivityIdentificationService

getService(Context context)

Creates an ActivityIdentificationService instance, which is used in Context.

Public Methods

[h2]getService(Activity activity)

Method

public static ActivityIdentificationService getService(Activity activity)

Creates an ActivityIdentificationService instance, which is used in Activity.

Parameters

Name

Description

activity

Activity.

Returns

Type

Description

ActivityIdentificationService

ActivityIdentificationService instance obtained based on Activity.

[h2]getService(Context context)

Method

public static ActivityIdentificationService getService(Context context)

Creates an ActivityIdentificationService instance, which is used in Context.

Parameters

Name

Description

context

Context.

Returns

Type

Description

ActivityIdentificationService

ActivityIdentificationService instance obtained based on Context.