Hi,
I’ve noticed while testing on my Nexus One that the iPhoneSettings.model variable holds the string “HTC Nexus One”, which is great because I was searching for a way to determine the phone model the game was being played on. This is useful to me because rotation gestures are buggy on some HTC devices, so I’d like to provide an alternate rotation method on those devices (ie trackball, a HUD rotation tap interface)
My question is, is there a list of values that are returned by this variable for different phone types? I didn’t see anything in the manual related to this. It would be unfortunate, for example, if I did a check against “Motorola Droid” and the model returned was actually just “Droid” or something. Also, is the model returned taken directly from the phone at run-time, or is this a situation where Unity keeps a list of phone types and it will return “unknown” or null when it is a phone that Unity is not prepared for?
Thanks!