- default value(0) must be assigned to parameter in constructor.
Change-Id: Ifccf544f90e58d7f8d07dc7b41c45575d433ee85
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
/// <param name='index'>
/// Index. Default value for this is 0. Index refers to a particular in-vehicle activity detector in case of multiple sensors.
/// </param>
- public InVehicleActivityDetector(int index) : base(index)
+ public InVehicleActivityDetector(int index = 0) : base(index)
{
SetAttribute((SensorAttribute)ActivityAttribute, (int)ActivityType.InVehicle);
Log.Info(Globals.LogTag, "Creating in-vehicle activity detector object");
/// <param name='index'>
/// Index. Default value for this is 0. Index refers to a particular running activity detector in case of multiple sensors.
/// </param>
- public RunningActivityDetector(int index) : base(index)
+ public RunningActivityDetector(int index = 0) : base(index)
{
SetAttribute((SensorAttribute)ActivityAttribute, (int)ActivityType.Running);
Log.Info(Globals.LogTag, "Creating running activity detector object");
/// <param name='index'>
/// Index. Default value for this is 0. Index refers to a particular stationary activity detector in case of multiple sensors.
/// </param>
- public StationaryActivityDetector(int index) : base(index)
+ public StationaryActivityDetector(int index = 0) : base(index)
{
SetAttribute((SensorAttribute)ActivityAttribute, (int)ActivityType.Stationary);
Log.Info(Globals.LogTag, "Creating stationary activity detector object");
/// <param name='index'>
/// Index. Default value for this is 0. Index refers to a particular walking activity detector in case of multiple sensors.
/// </param>
- public WalkingActivityDetector(int index) : base(index)
+ public WalkingActivityDetector(int index = 0) : base(index)
{
SetAttribute((SensorAttribute)ActivityAttribute, (int)ActivityType.Walking);
Log.Info(Globals.LogTag, "Creating walking activity gesture detector object");