001: /*
002: *
003: *
004: * Copyright 1990-2007 Sun Microsystems, Inc. All Rights Reserved.
005: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
006: *
007: * This program is free software; you can redistribute it and/or
008: * modify it under the terms of the GNU General Public License version
009: * 2 only, as published by the Free Software Foundation.
010: *
011: * This program is distributed in the hope that it will be useful, but
012: * WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * General Public License version 2 for more details (a copy is
015: * included at /legal/license.txt).
016: *
017: * You should have received a copy of the GNU General Public License
018: * version 2 along with this work; if not, write to the Free Software
019: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
020: * 02110-1301 USA
021: *
022: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
023: * Clara, CA 95054 or visit www.sun.com if you need additional
024: * information or have any questions.
025: */
026: package javax.microedition.location;
027:
028: /**
029: * This class is defined by the JSR-179 specification
030: * <em>Location API for J2ME for J2ME™.</em>
031: */
032: // JAVADOC COMMENT ELIDED
033: public class Location {
034: // JAVADOC COMMENT ELIDED
035: public final static int MTE_SATELLITE = 0x00000001;
036:
037: // JAVADOC COMMENT ELIDED
038: public final static int MTE_TIMEDIFFERENCE = 0x00000002;
039:
040: // JAVADOC COMMENT ELIDED
041: public final static int MTE_TIMEOFARRIVAL = 0x00000004;
042:
043: // JAVADOC COMMENT ELIDED
044: public final static int MTE_CELLID = 0x00000008;
045:
046: // JAVADOC COMMENT ELIDED
047: public final static int MTE_SHORTRANGE = 0x00000010;
048:
049: // JAVADOC COMMENT ELIDED
050: public final static int MTE_ANGLEOFARRIVAL = 0x00000020;
051:
052: // JAVADOC COMMENT ELIDED
053: public final static int MTY_TERMINALBASED = 0x00010000;
054:
055: // JAVADOC COMMENT ELIDED
056: public final static int MTY_NETWORKBASED = 0x00020000;
057:
058: // JAVADOC COMMENT ELIDED
059: public final static int MTA_ASSISTED = 0x00040000;
060:
061: // JAVADOC COMMENT ELIDED
062: public final static int MTA_UNASSISTED = 0x00080000;
063:
064: // JAVADOC COMMENT ELIDED
065: protected Location() {
066: }
067:
068: // JAVADOC COMMENT ELIDED
069: public boolean isValid() {
070: return false;
071: }
072:
073: // JAVADOC COMMENT ELIDED
074: public long getTimestamp() {
075: return 0;
076: }
077:
078: // JAVADOC COMMENT ELIDED
079: public QualifiedCoordinates getQualifiedCoordinates() {
080: return null;
081: }
082:
083: // JAVADOC COMMENT ELIDED
084: public float getSpeed() {
085: return 0;
086: }
087:
088: // JAVADOC COMMENT ELIDED
089: public float getCourse() {
090: return 0;
091: }
092:
093: // JAVADOC COMMENT ELIDED
094: public int getLocationMethod() {
095: return 0;
096: }
097:
098: // JAVADOC COMMENT ELIDED
099: public AddressInfo getAddressInfo() {
100: return null;
101: }
102:
103: // JAVADOC COMMENT ELIDED
104: public String getExtraInfo(String mimetype) {
105: return null;
106: }
107: }
|