Skip to content

Commit

Permalink
Constructor for CastDeviceStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
emlove authored and mar-v-in committed Mar 10, 2019
1 parent dfb4016 commit feeff75
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@

public class CastDeviceStatus extends AutoSafeParcelable {

public CastDeviceStatus() {
}

public CastDeviceStatus(double volume, boolean mute, int activeInputState, ApplicationMetadata applicationMetadata, int standbyState) {
this.volume = volume;
this.mute = mute;
this.activeInputState = activeInputState;
this.applicationMetadata = applicationMetadata;
this.standbyState = standbyState;
}

@SafeParceled(1)
private int versionCode = 1;
@SafeParceled(2)
Expand Down

0 comments on commit feeff75

Please sign in to comment.