beaconreading.java

来自「这是一款基于PlaceLab软件开发的导航系统中间件的客户端程序.」· Java 代码 · 共 51 行

JAVA
51
字号
/* * Created on Jun 16, 2004 * */package org.placelab.core;import java.io.DataOutputStream;import java.io.IOException;/** * A BeaconReading represents a sighting of a single wireless * beacon from a Spotter that spots for wireless Beacons.  Spotters * typically return {@link BeaconMeasurement} objects that have zero or more * BeaconReadings in them. */public interface BeaconReading {	/** 	 * @return a globally unique ID for this reading	 */	public String getId();	/** 	 * @return the type of reading that this is (WIFI, BLUETOOTH, GSM, etc)	 */	public String getType();		/** 	 * @return an int 0-100 depending on the signal strength, or -1 if unsupported	 */			public int getNormalizedSignalStrength();		public String toLogString();	public String toOurLogString();	public String toOurMAC();	public int toOurBeacRSSI();	public int getRssi();	public String toShortString();	public void toCompressedBytes(DataOutputStream dos) throws IOException;		/**	 * @return a human readable name (if any) for this reading	 */	public String getHumanReadableName();		/** 	 * returns true if the id for this beacon is  within the range of acceptable values,	 * for instance if it is not all zeroes.	 */	public boolean isValid();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?