Go to the documentation of this file.00001
00009 package org.rosbuilding.common.media;
00010
00011 import org.rosbuilding.common.IModule;
00012
00013 import smarthome_media_msgs.MediaAction;
00014 import smarthome_media_msgs.StateData;
00015 import smarthome_media_msgs.ToggleMuteSpeakerRequest;
00016 import smarthome_media_msgs.ToggleMuteSpeakerResponse;
00017
00023 public interface ISpeaker extends IModule<StateData, MediaAction> {
00024 public static final int LEVEL_MIN = 0;
00025 public static final int LEVEL_MAX = 100;
00026 public static final int LEVEL_STEP = 10;
00027
00028 public static final String OP_VOLUME_UP = "volumeup";
00029 public static final String OP_VOLUME_DOWN = "volumedown";
00030 public static final String OP_MUTE_TOGGLE = "mutetoggle";
00031 public static final String OP_VOLUME_TO = "volumeto";
00032 public static final String OP_MUTE = "mute";
00033 public static final String OP_CHANNEL = "channel";
00034
00040 void handleSpeakerMuteToggle(ToggleMuteSpeakerRequest request,
00041 ToggleMuteSpeakerResponse response);
00042 }