Matter

public final class Matter extends Object

Entry point for Matter APIs.

Constant Summary

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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.