How to get only short videos in YouTube api3? Desirable Android, Kotlin
I'm making an Android application and connecting YouTube API there and I need to get sort videos that I get.
For example: only long, normal videos and only short videos. I'm new to YouTube API, and I don't know how to do it.
Can anyone help?
There is small part of my code:
RetroInstance file code:
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object RetroInstance {
fun retroInstance(): YoutubeService {
return Retrofit.Builder()...