Re: Issue 81: Separating audio and video capabilities

It can be an enum.


On Mon, May 12, 2014 at 8:53 AM, cowwoc <cowwoc@bbs.darktech.org> wrote:

> On 10/05/2014 1:12 PM, Bernard Aboba wrote:
>
>> Peter Thatcher said:
>>
>> "I'd be happy with
>>
>> .getCapabilities()  => returns combined audio+video capabilities
>> .getCapabilities("audio") => returns audio capabilities
>> .getCapabilities("video") => returns video capabilities"
>>
>> [BA] Works for me.
>>
> How about getAudioCapabilities(), getVideoCapabilities() in order to
> maintain compile-time safety? I don't think using Strings buys you anything
> here.
>
> Gili
>
>

Received on Monday, 19 May 2014 12:50:46 UTC