Class IotHubDeviceConnectedEventData

    • Constructor Detail

      • IotHubDeviceConnectedEventData

        public IotHubDeviceConnectedEventData()
    • Method Detail

      • setDeviceId

        public IotHubDeviceConnectedEventData setDeviceId​(String deviceId)
        Set the deviceId property: The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
        Overrides:
        setDeviceId in class DeviceConnectionStateEventProperties
        Parameters:
        deviceId - the deviceId value to set.
        Returns:
        the DeviceConnectionStateEventProperties object itself.
      • setModuleId

        public IotHubDeviceConnectedEventData setModuleId​(String moduleId)
        Set the moduleId property: The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
        Overrides:
        setModuleId in class DeviceConnectionStateEventProperties
        Parameters:
        moduleId - the moduleId value to set.
        Returns:
        the DeviceConnectionStateEventProperties object itself.