All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.twitch4j.helix.domain.SoundtrackCurrentTrackWrapper Maven / Gradle / Ivy

The newest version!
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());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy