A B C D E F G H I L N O P R S T U W

A

add(DeviceObserver) - Method in interface com.localsocial.Device
observe this device

B

banner() - Static method in class com.localsocial.LocalSocialFactory
 

C

clearCredentials() - Method in interface com.localsocial.LocalSocial.Configuration
clear the user credentials
clearCredentials(Platform) - Static method in class com.localsocial.LocalSocialFactory
clear authorised credentials
clearCredentials() - Static method in class com.localsocial.LocalSocialFactory
clear authorised credentials
clearDevice(String) - Method in interface com.localsocial.Neighbourhood
forget the device matching the address.
clearKnownDevices() - Method in interface com.localsocial.Neighbourhood
forget all known devices.
COD - Static variable in interface com.localsocial.Device
this value will be passed to the DeviceObserver.propertyChanged method as the second parameter if the devices class of device value changes
com.localsocial - package com.localsocial
 
com.localsocial.config - package com.localsocial.config
 
com.localsocial.observer - package com.localsocial.observer
 
com.localsocial.proximity.observers - package com.localsocial.proximity.observers
 
com.localsocial.remote - package com.localsocial.remote
 
create(Class) - Method in interface com.localsocial.Logger
create a new logger for the class based on this prototype
create(String, String, String, String) - Method in interface com.localsocial.remote.TagRemote
create a tag
create(String, String, String) - Method in interface com.localsocial.remote.TagRemote
create a tag for this device on this device
createCredentials(AccessToken) - Static method in class com.localsocial.LocalSocialFactory
create credentials from an AccessToken
createLocalSocial(LocalSocial.Configuration) - Static method in class com.localsocial.LocalSocialFactory
create a new LocalSocial instance (if there isn't one already)

D

debug(Object, Object) - Method in interface com.localsocial.Logger
log a debug message
debug(Object, Object, Throwable) - Method in interface com.localsocial.Logger
log a debug message
delete(Tag) - Method in interface com.localsocial.remote.TagRemote
delete a tag
delete(String) - Method in interface com.localsocial.remote.TagRemote
delete the tag by fqn
Device - Interface in com.localsocial
Local social discovered device interface.
DeviceObserver - Interface in com.localsocial.proximity.observers
This interface can be used to monitor devices.
DISCOVERED - Static variable in interface com.localsocial.Device
this value will be passed to the DeviceObserver.propertyChanged method as the second parameter if the device is discovered
discovered(Device) - Method in interface com.localsocial.proximity.observers.NeighbourhoodObserver
this method is called when a device is discovered in proximity.

E

error(Object, Object) - Method in interface com.localsocial.Logger
log an error message
error(Object, Object, Throwable) - Method in interface com.localsocial.Logger
log an error message
ErrorCallback - Interface in com.localsocial
Interface to allow custom error, debug , info and warn message handling.

F

FRIENDLY_NAME - Static variable in interface com.localsocial.Device
this value will be passed to the DeviceObserver.propertyChanged method as the second parameter if the bluetooth friendly name changes

G

get(String) - Method in interface com.localsocial.Neighbourhood
get a device observer
get(String, String, String, String) - Method in interface com.localsocial.remote.TagRemote
get all of the tags that owner has set on target.
get(String, String) - Method in interface com.localsocial.remote.TagRemote
get all of the tags that owner has set on target.
get(String) - Method in interface com.localsocial.remote.TagRemote
get all of the tags set on owner
get() - Method in interface com.localsocial.remote.TagRemote
get all of my tags for this namespace
get(Hashtable) - Method in interface com.localsocial.remote.TagRemote
get the tags that match the query q
getAccessToken() - Method in interface com.localsocial.LocalSocial
get the current access token
getAddress() - Method in interface com.localsocial.Device
get the address for the device.
getAddress() - Method in interface com.localsocial.LocalSocial.Configuration
get the address of the default local device
getAddress() - Method in interface com.localsocial.Neighbourhood
get the LocalDevice address(es), addresses of the local radios configured for use (bt, wf or both)
getAddress() - Method in class com.localsocial.remote.RemoteFactory
 
getAuthCallback() - Method in class com.localsocial.config.SimpleAppConfiguration
get the authorisation callback
getAuthCallback() - Method in interface com.localsocial.LocalSocial.AppConfiguration
get the authorisation callback url
getAuthCallback() - Method in interface com.localsocial.LocalSocial.Configuration
get the authorisation callback url
getAuthorisationPath() - Method in interface com.localsocial.LocalSocial.Configuration
get the authorisation path
getBase() - Method in interface com.localsocial.LocalSocial.Configuration
get the url base
getBase(String) - Method in interface com.localsocial.LocalSocial.Configuration
get the url base
getBluetoothCod() - Method in interface com.localsocial.LocalSocial.Configuration
get the class of device of the local device
getBluetoothName() - Method in interface com.localsocial.LocalSocial.Configuration
get the name of the local device
getBoolean(String, boolean) - Method in interface com.localsocial.LocalSocial.Configuration
get the boolean value of the name from the config or the default if its not specified
getCod() - Method in interface com.localsocial.Device
get the bluetooth ClassOfDevice.
getConfig() - Method in interface com.localsocial.LocalSocial
get the localsocial configuration
getConsumerKey() - Method in class com.localsocial.config.SimpleAppConfiguration
get the Consumer Key value, you can get this on the LocalSocial Application page
getConsumerKey() - Method in interface com.localsocial.LocalSocial.AppConfiguration
get the application consumer key
getConsumerKey() - Method in interface com.localsocial.LocalSocial.Configuration
get the application consumer key
getConsumerSecret() - Method in class com.localsocial.config.SimpleAppConfiguration
get the consumer secret value, you can get this from your LocalSocial Application page
getConsumerSecret() - Method in interface com.localsocial.LocalSocial.AppConfiguration
get the application consumer secret
getConsumerSecret() - Method in interface com.localsocial.LocalSocial.Configuration
get the application consumer secret
getCredentials() - Method in interface com.localsocial.LocalSocial.Configuration
get the credentials
getCredentials() - Method in interface com.localsocial.LocalSocial.Credentials
get the application credentials
getDefaultConfig() - Static method in class com.localsocial.LocalSocialFactory
gets the default application configuration.
getDeviceRemote() - Method in class com.localsocial.remote.RemoteFactory
 
getJSONFactory() - Method in class com.localsocial.remote.RemoteFactory
 
getLocalSocial() - Static method in class com.localsocial.LocalSocialFactory
get the local social instance, you need to have called setDefaultAppConfig first.
getName() - Method in interface com.localsocial.Device
get the friendly name for the device.
getName() - Method in interface com.localsocial.Neighbourhood
get the LocalDevice name(s), names of the local radios configured for use (bt, wf or both)
getNeighbourhood() - Method in interface com.localsocial.LocalSocial
get the Bluetooth Neighbourhood instance
getNetworkRemote() - Method in class com.localsocial.remote.RemoteFactory
 
getOAuthConsumer() - Method in interface com.localsocial.LocalSocial
get the default OAuthAdapter instance
getPlatformContext() - Method in class com.localsocial.config.SimpleAppConfiguration
get the platform context
getPlatformContext() - Method in interface com.localsocial.LocalSocial.AppConfiguration
get the platform specific object.
getPlatformContext() - Method in interface com.localsocial.LocalSocial.Configuration
get the platform specific object.
getRemoteFactory() - Method in interface com.localsocial.LocalSocial
get the Neighbourhood instance
getRestServer() - Method in class com.localsocial.remote.RemoteFactory
 
getRssi() - Method in interface com.localsocial.Device
get the rssi of the device(if its supported).
getScannerTypes() - Method in class com.localsocial.config.SimpleAppConfiguration
 
getScannerTypes() - Method in interface com.localsocial.LocalSocial.AppConfiguration
get the scanners to be used during a proximity scan.
getScannerTypes() - Method in interface com.localsocial.LocalSocial.Configuration
get the scanners to be used during a proximity scan.
getScanRemote() - Method in class com.localsocial.remote.RemoteFactory
 
getScheduler() - Method in interface com.localsocial.LocalSocial.Configuration
get the scheduler for this LocalSocial instance
getServiceName() - Method in class com.localsocial.config.SimpleAppConfiguration
get the name of the service, for example MOOD
getServiceName() - Method in interface com.localsocial.LocalSocial.AppConfiguration
get the service Name.
getServiceName() - Method in interface com.localsocial.LocalSocial.Configuration
get the service Name.
getString(String, String) - Method in interface com.localsocial.LocalSocial.Configuration
get the boolean value of the name from the config or the default if its not specified
getTag(String, String, String, String) - Method in interface com.localsocial.remote.TagRemote
get the tag
getTag(String, String) - Method in interface com.localsocial.remote.TagRemote
get the named tag in this namespace on this device
getTagRemote() - Method in class com.localsocial.remote.RemoteFactory
 
getTimeout() - Method in class com.localsocial.config.SimpleAppConfiguration
get the timeout
getTimeout() - Method in interface com.localsocial.LocalSocial.AppConfiguration
get the timeout for a device to go out of range
getTimeout() - Method in interface com.localsocial.LocalSocial.Configuration
get the timeout for a device to go out of range
getTulsiRemote() - Method in class com.localsocial.remote.RemoteFactory
 
getType() - Method in interface com.localsocial.Neighbourhood
get the LocalDevice type e.g.
getWww() - Method in interface com.localsocial.LocalSocial.Configuration
get the url base
getWww(String) - Method in interface com.localsocial.LocalSocial.Configuration
get the url base

H

handle(Object, String, Throwable) - Method in interface com.localsocial.ErrorCallback
called when an error occurs
hasCredentials() - Method in interface com.localsocial.LocalSocial.Configuration
check there are credentials

I

info(Object, Object) - Method in interface com.localsocial.Logger
log a debug message
info(Object, Object, Throwable) - Method in interface com.localsocial.Logger
log a debug message
inRange(String) - Method in interface com.localsocial.Neighbourhood
is the device in range
inRange(Device) - Method in interface com.localsocial.proximity.observers.DeviceObserver
This method is called when the device comes into range.
inRange(Device) - Method in interface com.localsocial.proximity.observers.NeighbourhoodObserver
this method is called when a device is discovered in proximity.
isCurrentlyScanning() - Method in interface com.localsocial.Neighbourhood
is a scan currently in progress
isDiscoverable() - Method in interface com.localsocial.Neighbourhood
is the LocalDevice discoverable
isEnabled() - Method in interface com.localsocial.Neighbourhood
check if localSocial is enabled
isInRange() - Method in interface com.localsocial.Device
check if the device is in range
isObserving(DeviceObserver) - Method in interface com.localsocial.Device
is the observer attached to the device
isOutOfRange() - Method in interface com.localsocial.Device
check if the device has gone out of range
isScanning() - Method in interface com.localsocial.Neighbourhood
is LocalSocial scanning

L

lastSeen() - Method in interface com.localsocial.Device
get the last seen time
loadAccessToken() - Method in interface com.localsocial.LocalSocial
load the current access token
loadCredentials(Platform) - Static method in class com.localsocial.LocalSocialFactory
Load authorised credentials
loadProperties(InputStream) - Static method in class com.localsocial.LocalSocialFactory
 
LocalSocial - Interface in com.localsocial
This interface LocalSocial defines the services core functionality.
LocalSocial.AppConfiguration - Interface in com.localsocial
THis interface represents the configuration that the Application must give LocaSocial.
LocalSocial.Configuration - Interface in com.localsocial
This is the LocalSocial Configuration object.
LocalSocial.Credentials - Interface in com.localsocial
This interface stores the access token key and secret.
LocalSocialFactory - Class in com.localsocial
Factory for creating LocalSocial instances.
Logger - Interface in com.localsocial
Interface to allow custom error, debug , info and warn message handling.
LOST - Static variable in interface com.localsocial.Device
this value will be passed to the DeviceObserver.propertyChanged method as the second parameter if the device is lost

N

Neighbourhood - Interface in com.localsocial
Class describing the local environment, with this class you can observe the neighbourhood or a device.
NeighbourhoodObserver - Interface in com.localsocial.proximity.observers
Pass an instance of this type of object to handle neighbourhood events.

O

observeDevice(String, DeviceObserver) - Method in interface com.localsocial.Neighbourhood
register a device observer.
observeNeighbourhood(NeighbourhoodObserver) - Method in interface com.localsocial.Neighbourhood
add an observer to the neighbourhood.
Observer - Interface in com.localsocial.observer
base interface for all observers
onError(Object, String, Throwable) - Method in interface com.localsocial.LocalSocial
pass the error onto the handler
outOfRange(Device) - Method in interface com.localsocial.proximity.observers.DeviceObserver
This method is called when the device goes out of range.
outOfRange(Device) - Method in interface com.localsocial.proximity.observers.NeighbourhoodObserver
this method is called when a device is discovered in proximity.

P

populate(LocalSocial.AppConfiguration) - Static method in class com.localsocial.LocalSocialFactory
create a localsocial configuration from an AppConfiguration
propertyChanged(Device, String) - Method in interface com.localsocial.proximity.observers.DeviceObserver
This method is called when a property changes on the device.

R

RemoteFactory - Class in com.localsocial.remote
 
RemoteFactory() - Constructor for class com.localsocial.remote.RemoteFactory
 
RemoteFactory(LocalSocial) - Constructor for class com.localsocial.remote.RemoteFactory
 
remove(DeviceObserver) - Method in interface com.localsocial.Device
stop observing this device
removeObserver(String, DeviceObserver) - Method in interface com.localsocial.Neighbourhood
remove an observer from a device.
removeObserver(NeighbourhoodObserver) - Method in interface com.localsocial.Neighbourhood
remove an observer from the neighbourhood.
RSSI - Static variable in interface com.localsocial.Device
this value will be passed to the DeviceObserver.propertyChanged method as the second parameter if the devices rssi value changes

S

save(Platform, LocalSocial.Credentials) - Static method in class com.localsocial.LocalSocialFactory
save the consumer credentials
save(LocalSocial.Credentials) - Static method in class com.localsocial.LocalSocialFactory
save the consumer credentials using the dfault platform
saveAccessToken(AccessToken) - Method in interface com.localsocial.LocalSocial
save the access token
scanModeChanged(String, int) - Method in interface com.localsocial.proximity.observers.NeighbourhoodObserver
this method is called when the localdevice scan mode changes.
scanStarted(boolean) - Method in interface com.localsocial.proximity.observers.NeighbourhoodObserver
this method is called when a neighbourhood scan starts.
scanStopped(int) - Method in interface com.localsocial.proximity.observers.NeighbourhoodObserver
this method is called when a neighbourhood scan ends or is stopped.
SERVICE - Static variable in interface com.localsocial.Device
this value will be passed to the DeviceObserver.propertyChanged method as the second parameter if the service registration changes
setAuthCallback(String) - Method in class com.localsocial.config.SimpleAppConfiguration
set the authorisation callback
setConsumerKey(String) - Method in class com.localsocial.config.SimpleAppConfiguration
set the consumer key
setConsumerSecret(String) - Method in class com.localsocial.config.SimpleAppConfiguration
set the consumer key
setCredentials(LocalSocial.Credentials) - Method in interface com.localsocial.LocalSocial.Configuration
set the consumer credentials
setCredentials(String) - Method in interface com.localsocial.LocalSocial.Configuration
set the consumer credentials
setDefaultConfig(LocalSocial.AppConfiguration) - Static method in class com.localsocial.LocalSocialFactory
Sets the default application configuration.
setDefaultConfig(LocalSocial.Configuration) - Static method in class com.localsocial.LocalSocialFactory
Sets the default application configuration.
setDiscoverable() - Method in interface com.localsocial.Neighbourhood
make the LocalDevice discoverable
setErrorCallback(ErrorCallback) - Method in interface com.localsocial.LocalSocial
set the error callback handler instance
setLocalSocial(LocalSocial) - Method in class com.localsocial.remote.RemoteFactory
 
setPlatformContext(Platform) - Method in class com.localsocial.config.SimpleAppConfiguration
set the application context
setScannerTypes(String[]) - Method in class com.localsocial.config.SimpleAppConfiguration
 
setServiceName(String) - Method in class com.localsocial.config.SimpleAppConfiguration
set the name of the service, for example MOOD
setTimeout(String) - Method in class com.localsocial.config.SimpleAppConfiguration
set the timeout after which a device has gone out of range
setTimeout(long) - Method in interface com.localsocial.Device
set the in range timeout
SimpleAppConfiguration - Class in com.localsocial.config
Simple application configuration, you still need to add support for credentials.
SimpleAppConfiguration() - Constructor for class com.localsocial.config.SimpleAppConfiguration
create an empty configuration
SimpleAppConfiguration(String, String, String, String, Platform) - Constructor for class com.localsocial.config.SimpleAppConfiguration
create an empty configuration
startScan() - Method in interface com.localsocial.Neighbourhood
start localSocial scanning
stopScan() - Method in interface com.localsocial.Neighbourhood
stop localSocial scanning
SUPPORTED_TYPES - Static variable in interface com.localsocial.LocalSocial
 

T

TagRemote - Interface in com.localsocial.remote
 
toString() - Method in class com.localsocial.remote.RemoteFactory
 
trace(Object, Object) - Method in interface com.localsocial.Logger
log a debug message
trace(Object, Object, Throwable) - Method in interface com.localsocial.Logger
log a debug message
TYPE_BT - Static variable in interface com.localsocial.LocalSocial
 
TYPE_WF - Static variable in interface com.localsocial.LocalSocial
 

U

update(Tag, String) - Method in interface com.localsocial.remote.TagRemote
update an existing tag
update(String, String) - Method in interface com.localsocial.remote.TagRemote
update a tag by the fqn
updateOrCreate(String, String, String, String) - Method in interface com.localsocial.remote.TagRemote
update an existing tag or create a new one
updateOrCreate(String, String, String) - Method in interface com.localsocial.remote.TagRemote
update an existing tag or create a new one on this device

W

warn(Object, Object) - Method in interface com.localsocial.Logger
log a warn message
warn(Object, Object, Throwable) - Method in interface com.localsocial.Logger
log a warn message

A B C D E F G H I L N O P R S T U W

Copyright (c) 2003-11, Rococo Software Ltd. All rights reserved.