I have the following CharSequence
defined:
final CharSequence[] videoQualities = {"any", "medium", "high", "hd"};
I am getting two string
values: availableQuality
and requestedQuality
. Both can contain values from the CharSequence
above only.
How can I check if availableQuality
more or equal to requestedQuality
?