Class RebootInputDeviceRequest

    • Method Detail

      • force

        public final RebootInputDeviceForce force()
        Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.

        If the service returns an enum value that is not available in the current SDK version, force will return RebootInputDeviceForce.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from forceAsString().

        Returns:
        Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.
        See Also:
        RebootInputDeviceForce
      • forceAsString

        public final String forceAsString()
        Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.

        If the service returns an enum value that is not available in the current SDK version, force will return RebootInputDeviceForce.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from forceAsString().

        Returns:
        Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.
        See Also:
        RebootInputDeviceForce
      • inputDeviceId

        public final String inputDeviceId()
        The unique ID of the input device to reboot. For example, hd-123456789abcdef.
        Returns:
        The unique ID of the input device to reboot. For example, hd-123456789abcdef.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object