Database
Last Updated On 2021-07-16
Version 1MinSDK 7Tutorial Video
Niotron Realtime database. Lets you store your data in NiotronDB,
Properties
You can set the below properties in the UI part of the builder.
- ApiKey - it's a text value which is set to blank by default.
Block Properties
You can set the below blocks properties in the blocks section of the builder.
Methods
You can set the below method blocks in the blocks section of the builder.
CreateRecord
Creates a record with provided tag and value
DeleteRecord
Deletes record with provided tag
GetAllRecord
Fetches all records
GetValueByTag
Gets the value of the provided tag
StartListeningToDataChange
Starts Listenign to data change
StopListeningToDataChange
Stops listening to data change
Events
You can set the below event blocks in the blocks section of the builder.
OnCreatedRecord
Raises when record created successfully
OnDataAdded
Raises when some data added into the database
OnDataRemoved
Raises when some data removed from database
OnDeletedRecord
Raises when record deleted successfully
OnErrorCreateingRecord
Raises when error creating record
OnErrorDeletingRecord
Raises when error deleting record
OnErrorGettingAllRecords
Raises when error getting all records
OnErrorGettingValueByTag
Raises when error getting value of a tag
OnGotAllRecords
Raises when got all record
OnGotValueByTag
Raises when got value of a tag