com.kuka.roboticsAPI.capabilities.honk.effects
Class HonkEffectStep

java.lang.Object
  extended by com.kuka.roboticsAPI.capabilities.honk.effects.HonkEffectStep
All Implemented Interfaces:
IHonkEffectStep

public class HonkEffectStep
extends Object
implements IHonkEffectStep

Class representing steps of the honk effects.


Constructor Summary
HonkEffectStep(long duration, boolean isSoundOn)
          Creates an instance of HonkEffectStep.
 
Method Summary
 long getDuration()
          Method to get the duration of this step.
 boolean isSoundOn()
          Method to get if this step has sound on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HonkEffectStep

public HonkEffectStep(long duration,
                      boolean isSoundOn)
Creates an instance of HonkEffectStep.

Parameters:
duration - duration.
isSoundOn - isSoundOn.
Method Detail

getDuration

public long getDuration()
Description copied from interface: IHonkEffectStep
Method to get the duration of this step.

Specified by:
getDuration in interface IHonkEffectStep
Returns:
the duration of this step.

isSoundOn

public boolean isSoundOn()
Description copied from interface: IHonkEffectStep
Method to get if this step has sound on.

Specified by:
isSoundOn in interface IHonkEffectStep
Returns:
if this step has sound on.


Copyright © 2019. All rights reserved.