I need to run an piece of functionality in my android app, only if the device is Samsung and s7 and higher, is there a way to do it programmatically?
I know how to get device manufacturer and model using
val deviceMan = android.os.Build.MANUFACTURER
val deviceModel = android.os.Build.MODEL