All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.sdk.iot.device.twin.DesiredPropertiesCallback Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.microsoft.azure.sdk.iot.device.twin;

/**
 * The callback to be executed each time the client receives a desired property update from the service.
 */
public interface DesiredPropertiesCallback
{
    /**
     * The callback to be executed each time the client receives a desired property update from the service.
     *
     * @param twin A {@link Twin} instance containing the updated desired properties.
     * @param context The context that was provided for this callback in
     * {@link com.microsoft.azure.sdk.iot.device.InternalClient#subscribeToDesiredPropertiesAsync(DesiredPropertiesCallback, Object, SubscriptionAcknowledgedCallback, Object)}
     */
    void onDesiredPropertiesUpdated(Twin twin, Object context);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy