Re: What does getSessions return?

On Mon, Aug 10, 2015 at 3:46 PM, Anton Vayvod <avayvod@google.com> wrote:

>
>
> On Mon, Aug 10, 2015 at 10:58 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>
>> On Mon, Aug 10, 2015 at 2:15 PM, mark a. foltz <mfoltz@google.com> wrote:
>> > Francois filed [2] to try to structure the spec in a way to make it
>> easier
>> > to keep these concepts distinct.  In the meantime (if we agree with my
>> > interpretation of the spec), we could define two sets of presentations:
>> >
>> > - The set of initiated presentations
>> > - The set of running presentations
>> >
>> > And limit getSessions() to returning the latter.
>>
>> Where "running presentations" means "presentations that some other
>> device initiated"? If so, then that sounds great!
>>
>
> Rather "the set of this presentation's initiators/controllers", right?
>

Specifically this returns the set of PresentationSessions for a presenting
context, that allow it to communicate with all controlling/initiating
contexts.

It returns the empty set for a controlling/initiating context that is not
itself a presentation, unless we want to change the spec.

m.

Received on Tuesday, 11 August 2015 00:45:15 UTC