com.github.twitch4j.helix.domain.SoundtrackCurrentTrackWrapper Maven / Gradle / Ivy
package com.github.twitch4j.helix.domain;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.Optional;
/**
* @deprecated Twitch is decommissioning Soundtrack on 2023-07-17
*/
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Deprecated
public class SoundtrackCurrentTrackWrapper extends ValueWrapper {
/**
* @return the Soundtrack track that the broadcaster is playing.
*/
public Optional getTrack() {
return Optional.ofNullable(this.get());
}
}