Re: Issue 81: Separating audio and video capabilities

Again, why? What is gained by this approach over using separate methods 
for each type?

Gili

On 19/05/2014 8:49 AM, Peter Thatcher wrote:
> It can be an enum.
>
>
> On Mon, May 12, 2014 at 8:53 AM, cowwoc <cowwoc@bbs.darktech.org 
> <mailto: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 15:52:30 UTC