package Ġcom . the wiz rd . shared _ resources . location data Ċ Ċ import Ġcom . the wiz rd . shared _ resources . controls . Location Query ViewModel Ċ import Ġcom . the wiz rd . shared _ resources . utils . Coordinate Ċ import Ġcom . the wiz rd . shared _ resources . utils . Weather Exception Ċ import Ġcom . the wiz rd . shared _ resources . weather data . Weather API . Location Providers Ċ Ċ interface ĠLocation Provider Impl Interface Ġ{ ĊĠĠĠ Ġ@ Location Providers ĊĠĠĠ Ġfun Ġget Location API (): ĠString ĊĊĠĠĠ Ġfun Ġis Key Required (): ĠBoolean ĊĊĠĠĠ Ġfun Ġsupports Locale (): ĠBoolean ĊĊĠĠĠ Ġfun Ġneeds Location From ID (): ĠBoolean ĊĊĠĠĠ Ġfun Ġneeds Location FromName (): ĠBoolean ĊĊĠĠĠ Ġfun Ġneeds Location From Geo coder (): ĠBoolean ĊĊĠĠĠ Ġ@ Throws ( Weather Exception :: class ) ĊĠĠĠ Ġsuspend Ġfun Ġget Locations ( ac _ query : ĠString ?, Ġweather API : ĠString ? ĊĠĠĠ Ġ): ĠCollection < Location Query ViewModel > ĊĊĠĠĠ Ġ@ Throws ( Weather Exception :: class ) ĊĠĠĠ Ġsuspend Ġfun Ġget Location ( coordinate : ĠCoordinate , Ġweather API : ĠString ?): ĠLocation Query ViewModel ? ĊĊĠĠĠ Ġ@ Throws ( Weather Exception :: class ) ĊĠĠĠ Ġsuspend Ġfun Ġget Location From ID ( model : ĠLocation Query ViewModel ): ĠLocation Query ViewModel ? ĊĊĠĠĠ Ġ@ Throws ( Weather Exception :: class ) ĊĠĠĠ Ġsuspend Ġfun Ġget Location FromName ( model : ĠLocation Query ViewModel ): ĠLocation Query ViewModel ? ĊĊĠĠĠ Ġ@ Throws ( Weather Exception :: class ) ĊĠĠĠ Ġsuspend Ġfun Ġis Key Valid ( key : ĠString ?): ĠBoolean ĊĊĠĠĠ Ġfun Ġget API Key (): ĠString ? ĊĊĠĠĠ Ġfun Ġlocale To Lang Code ( iso : ĠString , Ġname : ĠString ): ĠString ĊĊĠĠĠ Ġsuspend Ġfun Ġupdate Location Data ( location : ĠLocation Data , Ġweather API : ĠString ) Ċ }