Compartir a través de


PropertyCallBack<Type1,Type2> Interface

Type Parameters

Type1

The type of the desired property key. Since the twin is a json object, the key will always be a String.

Type2

The type of the desired property value.

public interface PropertyCallBack<Type1,Type2>

The interface for describing the callback that is triggered when there are changes in the client's twin desired properties.

Method Summary

Modifier and Type Method and Description
abstract void PropertyCall(Type1 propertyKey, Type2 propertyValue, Object context)

The callback that is triggered when there are changes in the client's twin desired properties.

Method Details

PropertyCall

public abstract void PropertyCall(Type1 propertyKey, Type2 propertyValue, Object context)

The callback that is triggered when there are changes in the client's twin desired properties.

Parameters:

propertyKey - The desired property key that was updated.
propertyValue - The desired property value that was updated.
context - The context passed to the callback.

Applies to