joynr.vehicle.RadioSync Maven / Gradle / Ivy
/*
*
* Copyright (C) 2011 - 2016 BMW Car IT GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// #####################################################
//#######################################################
//### ###
//## WARNING: This file is generated. DO NOT EDIT ##
//## All changes will be lost! ##
//### ###
//#######################################################
// #####################################################
package joynr.vehicle;
import io.joynr.Sync;
import joynr.exceptions.ApplicationException;
import joynr.vehicle.Country;
import joynr.vehicle.GeoPosition;
import joynr.vehicle.RadioStation;
@Sync
public interface RadioSync extends Radio {
public RadioStation getCurrentStation();
public class GetLocationOfCurrentStationReturned implements io.joynr.dispatcher.rpc.MultiReturnValuesContainer {
public final Country country;
public final GeoPosition location;
public GetLocationOfCurrentStationReturned(Object... outParameters) {
this.country = (Country) outParameters[0];
this.location = (GeoPosition) outParameters[1];
}
public static Class>[] getDatatypes() {
return new Class>[] {Country.class, GeoPosition.class};
}
public Object[] getValues() {
return new Object[] {
country,
location
};
}
}
/*
* shuffleStations
*/
public void shuffleStations(
);
/*
* addFavoriteStation
*/
public Boolean addFavoriteStation(
RadioStation newFavoriteStation
) throws ApplicationException;
/*
* getLocationOfCurrentStation
*/
public GetLocationOfCurrentStationReturned getLocationOfCurrentStation(
);
}