com.sun.spot.peripheral.radio
Class RadioPolicy
java.lang.Object
com.sun.spot.peripheral.radio.RadioPolicy
public class RadioPolicy
- extends Object
ON
public static final RadioPolicy ON
OFF
public static final RadioPolicy OFF
AUTOMATIC
public static final RadioPolicy AUTOMATIC
toString
public String toString()
- Overrides:
toString in class Object
policyMatching
public static RadioPolicy policyMatching(RadioPolicy selection)
- Return the instance that matches the argument. We need this to allow selections to be
passed between isolates
- Parameters:
selection - the selection to be matched
- Returns:
- the matching selection
Copyright © 2006-2008 Sun Microsystems, Inc. All Rights Reserved.