MCPcopy Index your code
hub / github.com/oshi/oshi / isDigital

Method isDigital

oshi-core/src/main/java/oshi/util/EdidUtil.java:144–147  ·  view source on GitHub ↗

Test if this EDID is a digital monitor based on byte 20 @param edid The EDID byte array @return True if the EDID represents a digital monitor, false otherwise

(byte[] edid)

Source from the content-addressed store, hash-verified

142 * @return True if the EDID represents a digital monitor, false otherwise
143 */
144 public static boolean isDigital(byte[] edid) {
145 // Byte 20 is Video input params
146 return 1 == (edid[20] & 0xff) >> 7;
147 }
148
149 /**
150 * Get monitor width in cm

Callers 2

testGetEdidAttrsMethod · 0.95
toStringMethod · 0.95

Calls

no outgoing calls

Tested by 1

testGetEdidAttrsMethod · 0.76