Function: getResolutionValidationMessageForConnect()#

getResolutionValidationMessageForConnect(perEyeWidth, perEyeHeight): string | null

Returns a user-friendly message for the connect button area when resolution is invalid. Names the field(s) to fix (Width, Height). Use under the Connect button; use the raw validatePerEyeResolution messages under the width/height inputs.

Parameters#

perEyeWidth#

number

perEyeHeight#

number

Returns#

string | null