VancedMicroG/play-services-cast-framewor.../src/main/java/com/google/android/gms/cast/framework/CastOptions.java

56 lines
1.7 KiB
Java
Raw Normal View History

/*
2017-06-12 22:11:15 +00:00
* Copyright (C) 2013-2017 microG 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.
*/
package com.google.android.gms.cast.framework;
2018-05-19 19:19:25 +00:00
import com.google.android.gms.cast.LaunchOptions;
2022-01-28 00:15:01 +00:00
import com.google.android.gms.cast.framework.media.CastMediaOptions;
import org.microg.safeparcel.AutoSafeParcelable;
2018-05-19 19:19:25 +00:00
import java.util.ArrayList;
public class CastOptions extends AutoSafeParcelable {
2020-10-14 21:00:04 +00:00
@Field(1)
2018-05-19 19:19:25 +00:00
private int versionCode = 1;
2020-10-14 21:00:04 +00:00
@Field(2)
2018-05-19 19:19:25 +00:00
private String receiverApplicationId;
2020-10-14 21:00:04 +00:00
@Field(3)
2018-05-19 19:19:25 +00:00
private ArrayList<String> supportedNamespaces;
2020-10-14 21:00:04 +00:00
@Field(4)
2018-05-19 19:19:25 +00:00
private boolean stopReceiverApplicationWhenEndingSession;
2020-10-14 21:00:04 +00:00
@Field(5)
2018-05-19 19:19:25 +00:00
private LaunchOptions launchOptions;
2020-10-14 21:00:04 +00:00
@Field(6)
2018-05-19 19:19:25 +00:00
private boolean resumeSavedSession;
2020-10-14 21:00:04 +00:00
@Field(7)
2018-05-19 19:19:25 +00:00
private CastMediaOptions castMediaOptions;
2020-10-14 21:00:04 +00:00
@Field(8)
2018-05-19 19:19:25 +00:00
private boolean enableReconnectionService;
2020-10-14 21:00:04 +00:00
@Field(9)
2018-05-19 19:19:25 +00:00
private double volumeDeltaBeforeIceCreamSandwich;
public String getReceiverApplicationId() {
return this.receiverApplicationId;
}
2018-05-19 19:19:25 +00:00
public LaunchOptions getLaunchOptions() {
return this.launchOptions;
}
2020-10-14 21:00:04 +00:00
public static Creator<CastOptions> CREATOR = new AutoCreator<CastOptions>(CastOptions.class);
}