Exemple #1
0
    public IEnumerator Test_Spotify_GetAlbum()
    {
        Spotify spotify = new Spotify();

        spotify.TestSetup(); #if UNITY_IPHONE


        //Big Fish Theory
        string albumId = "1qnEwPuG3l4PqRu8h3ULH7";
        FullAlbum fullAlbum = spotify.GetAlbum(albumId);

        yield return(null);

        Debug.Log(fullAlbum.Name);

        Assert.IsFalse(fullAlbum.HasError());
    }
Exemple #2
0
    public bool isAlbum(string id)
    {
        FullAlbum album = _spotify.GetAlbum(id);

        return(!album.HasError());
    }