public static synchronized void initialize ( Context context , int goIntent , boolean isAutonomous , ProximityMiddleware . Factory factory ) { if ( context == null || factory == null ) { throw new NullPointerException ( "Arguments cannot be null" ) ; } SPF . initialize ( context , goIntent , isAutonomous , factory ) ; sInstance = new SPFContext ( ) ; }
Initializes SPFContext . After this method has been called you can get references to SPFContext and SPF .