package Ġt aiwan . no 1 . app . ss fm . models . use cases . v 2 Ċ Ċ import Ġt aiwan . no 1 . app . ss fm . models . data . I DataStore Ċ import Ġt aiwan . no 1 . app . ss fm . models . entities . Playlist Item Entity Ċ import Ġt aiwan . no 1 . app . ss fm . models . entities . v 2 . Music Entity Ċ import Ġt aiwan . no 1 . app . ss fm . models . use cases . Base Use case Ċ import Ġt aiwan . no 1 . app . ss fm . models . use cases . v 2 . Get Music Uri Use case . Request Value Ċ Ċ /** Ċ Ġ* Ġ@ author Ġ Ġji ey i Ċ Ġ* Ġ@ since ĠĠĠ 1 1 / 2 1 / 1 7 Ċ Ġ*/ Ċ class ĠGet Music Uri Use case ( repository : ĠI DataStore ) Ġ: ĠBase Use case < Music Entity , ĠRequest Value >( repository ) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġfetch Use case () Ġ= ĊĠĠĠĠĠĠĠ Ġ( parameters Ġ?: ĠRequest Value ()). let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrepository . search Music ("${ it . playlist Item . artist Name } Ġ${ it . playlist Item . track Name }", Ġ 0 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġdata Ġclass ĠRequest Value ( val Ġplaylist Item : ĠPlaylist Item Entity Ġ= ĠPlaylist Item Entity ()) Ġ: ĠRequest Values Ċ }