mirror of
				https://github.com/mik3y/usb-serial-for-android
				synced 2025-11-04 12:28:17 +00:00 
			
		
		
		
	UsbSerialPort Documentation Fixes (#608)
This commit is contained in:
		
							parent
							
								
									8584fe4cb8
								
							
						
					
					
						commit
						2673407f1d
					
				@ -175,7 +175,7 @@ public interface UsbSerialPort extends Closeable {
 | 
				
			|||||||
     * @param parity one of {@link #PARITY_NONE}, {@link #PARITY_ODD},
 | 
					     * @param parity one of {@link #PARITY_NONE}, {@link #PARITY_ODD},
 | 
				
			||||||
     *               {@link #PARITY_EVEN}, {@link #PARITY_MARK}, or {@link #PARITY_SPACE}.
 | 
					     *               {@link #PARITY_EVEN}, {@link #PARITY_MARK}, or {@link #PARITY_SPACE}.
 | 
				
			||||||
     * @throws IOException on error setting the port parameters
 | 
					     * @throws IOException on error setting the port parameters
 | 
				
			||||||
     * @throws UnsupportedOperationException if values are not supported by a specific device
 | 
					     * @throws UnsupportedOperationException if not supported or values are not supported by a specific device
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    void setParameters(int baudRate, int dataBits, int stopBits, @Parity int parity) throws IOException;
 | 
					    void setParameters(int baudRate, int dataBits, int stopBits, @Parity int parity) throws IOException;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -257,6 +257,7 @@ public interface UsbSerialPort extends Closeable {
 | 
				
			|||||||
     *
 | 
					     *
 | 
				
			||||||
     * @return EnumSet.contains(...) is {@code true} if set, else {@code false}
 | 
					     * @return EnumSet.contains(...) is {@code true} if set, else {@code false}
 | 
				
			||||||
     * @throws IOException if an error occurred during reading
 | 
					     * @throws IOException if an error occurred during reading
 | 
				
			||||||
 | 
					     * @throws UnsupportedOperationException if not supported
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    EnumSet<ControlLine> getControlLines() throws IOException;
 | 
					    EnumSet<ControlLine> getControlLines() throws IOException;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user