Matter

public final class Matter extends Object

Entry point for Matter APIs.

Constant Summary

String ACTION_COMMISSION_DEVICE Intent action used to share SharedDeviceData when an application is chosen from CommissioningClient.shareDevice(ShareDeviceRequest).

Public Method Summary

static CommissioningClient
static CommissioningClient
static DiscoveryClient
static DiscoveryClient
static SettingsClient
getSettingsClient(Activity activity, GoogleSignInAccount account)
Returns a new SettingsClient.
static SettingsClient
getSettingsClient(Context context, GoogleSignInAccount account)
Returns a new SettingsClient.

Inherited Method Summary

Constants

public static final String ACTION_COMMISSION_DEVICE

Intent action used to share SharedDeviceData when an application is chosen from CommissioningClient.shareDevice(ShareDeviceRequest).

Upon receiving this Intent from Google Play Services, you can retrieve the device information from the Intent using SharedDeviceData.fromIntent(Intent).

Constant Value: "com.google.android.gms.home.matter.ACTION_COMMISSION_DEVICE"

Public Methods

public static CommissioningClient getCommissioningClient (Activity activity)

Returns a new CommissioningClient.

public static CommissioningClient getCommissioningClient (Context context)

Returns a new CommissioningClient.

public static DiscoveryClient getDiscoveryClient (Context context)

Returns a new DiscoveryClient.

public static DiscoveryClient getDiscoveryClient (Activity activity)

Returns a new DiscoveryClient.

public static SettingsClient getSettingsClient (Activity activity, GoogleSignInAccount account)

Returns a new SettingsClient.

public static SettingsClient getSettingsClient (Context context, GoogleSignInAccount account)

Returns a new SettingsClient.