Re: Issue 81: Separating audio and video capabilities

Would
.getCapabilities("text"), .getCapabilities("message") and .getCapabilities("
application") ever be an option? If we plan to support getting capabilities
for media types that will be supported in the future, using strings makes
sense. Otherwise separate function names, or at least bitmask, would be
better.

_____________
Roman Shpount


On Mon, May 12, 2014 at 11: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, 12 May 2014 22:50:26 UTC