Re: [proximity] What's the initial value of near attribute?

> But near attribute is boolean in Proximity which could not be set to null.

Can you please get me the link, where I can check boolean cannot be null ?

We did consider it to be initialized to 'false', 
There might be some confusion as to what  near == false means 
1. platform cannot give near value
2. imply there is NOT an object in the sensing range

Hence the Note : 

> If the implementation is unable to provide the near value, it could infer the near value from the value of distance. For example, if distance is not equal to max, it could imply there is an object in the sensing range.



-- 
GitHub Notification of comment by riju
Please view or discuss this issue at https://github.com/w3c/proximity/issues/29#issuecomment-357947068 using your GitHub account

Received on Tuesday, 16 January 2018 12:37:31 UTC