2015-07-24 00:52:23 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2013-2015 µg Project Team
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2015-08-04 11:02:08 +00:00
|
|
|
package com.google.android.gms.wearable.internal;
|
|
|
|
|
|
|
|
import com.google.android.gms.wearable.ConnectionConfiguration;
|
2015-07-24 00:52:23 +00:00
|
|
|
|
|
|
|
import org.microg.safeparcel.AutoSafeParcelable;
|
|
|
|
import org.microg.safeparcel.SafeParceled;
|
|
|
|
|
|
|
|
public class GetConfigResponse extends AutoSafeParcelable {
|
|
|
|
@SafeParceled(1)
|
|
|
|
private int versionCode = 1;
|
|
|
|
@SafeParceled(2)
|
|
|
|
public final int statusCode;
|
|
|
|
@SafeParceled(3)
|
|
|
|
public final ConnectionConfiguration connectionConfiguration;
|
|
|
|
|
|
|
|
private GetConfigResponse() {
|
|
|
|
statusCode = 0;
|
|
|
|
connectionConfiguration = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public GetConfigResponse(int statusCode, ConnectionConfiguration connectionConfiguration) {
|
|
|
|
this.statusCode = statusCode;
|
|
|
|
this.connectionConfiguration = connectionConfiguration;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final Creator<GetConfigResponse> CREATOR = new AutoCreator<GetConfigResponse>(GetConfigResponse.class);
|
|
|
|
}
|