User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
supporting_new_features [2017/03/18 19:38]
wesgilster
supporting_new_features [2020/12/16 10:44] (current)
35.239.58.193 old revision restored (2017/03/18 19:27)
Line 7: Line 7:
   - Optionally add the settings line in your config.properties file if your class requires a special setup: `featureSettings.[name].[of].[package].[NameOfYourNewClass]=[jsonOrSomeOtherFormatThatYourClassUnderstands]`   - Optionally add the settings line in your config.properties file if your class requires a special setup: `featureSettings.[name].[of].[package].[NameOfYourNewClass]=[jsonOrSomeOtherFormatThatYourClassUnderstands]`
  
-Since step 2 is pretty self explanatory, let's explore step 1 a bit further. Here are the methods you'll need to implement: 
-  - `start(URI uri, String settings)` - `uri` is the URL location that Photonic3D was exposed. `settings` are anything that you're feature needs in order to initialize itself from the optional step 3 above. You should initialize your feature at this point. 
-  - `stop()` - This will be called when Photonic3D has been asked to halt from the OS. You should perform any cleanup of resources that your feature started or shutdown of any processses at this point. 
  
-Here are a few examples of features in Photonic3D:   
-{{:pasted:20170318-183640.png}}