public class HotspotControllerImpl extends Object implements HotspotController
HotspotController.Callback
Constructor and Description |
---|
HotspotControllerImpl(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
addCallback(HotspotController.Callback callback) |
void |
dump(FileDescriptor fd,
PrintWriter pw,
String[] args) |
boolean |
isHotspotEnabled() |
boolean |
isHotspotSupported() |
void |
removeCallback(HotspotController.Callback callback) |
void |
setHotspotEnabled(boolean enabled) |
public HotspotControllerImpl(Context context)
public boolean isHotspotSupported()
isHotspotSupported
in interface HotspotController
public void dump(FileDescriptor fd, PrintWriter pw, String[] args)
public void addCallback(HotspotController.Callback callback)
addCallback
in interface HotspotController
public void removeCallback(HotspotController.Callback callback)
removeCallback
in interface HotspotController
public boolean isHotspotEnabled()
isHotspotEnabled
in interface HotspotController
public void setHotspotEnabled(boolean enabled)
setHotspotEnabled
in interface HotspotController