コード例 #1
0
 public CommandManager()
 {
     commands[ 0 ] = new AccelerometerCommand();
     commands[ 1 ] = new CameraCommand();
     commands[ 2 ] = new ContactCommand();
     commands[ 3 ] = new DeviceCommand();
     commands[ 4 ] = new FileCommand();
     commands[ 5 ] = new GeolocationCommand();
     commands[ 6 ] = new MediaCommand();
     commands[ 7 ] = new NotificationCommand();
     commands[ 8 ] = new SMSCommand();
     commands[ 9 ] = new TelephonyCommand();
 }
コード例 #2
0
 public CommandManager() {
     commands[0] = new InitializationCommand();
     commands[1] = new MediaCommand();
 }
コード例 #3
0
 public CommandManager()
 {
     commands[0] = new InitializationCommand();
     commands[1] = new MediaCommand();
 }