LocalLogContentProvider
The local log content provider.
If the nRF Logger application is not installed an app may use the LocalLogContentProvider to show log entries locally, in the application. This provider is a limited version of the one in nRF Logger. It does not support different applications, marking log sessions with a star of a flag nor giving them description. The log sessions are stored until user closes the connection to the device and removed, but you may keep them and make your own log viewer in the application.
nRF Connect makes use of this provider if nRF Logger is not installed.
Remember to add the <provider> tag to the AndroidManifest.xml file giving the same authority as you will return in the derived class.
Properties
Functions
Link copied to clipboard
open fun applyBatch(authority: String, operations: ArrayList<ContentProviderOperation>): Array<ContentProviderResult>
open fun applyBatch(@NonNull operations: ArrayList<ContentProviderOperation>): Array<ContentProviderResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T> openPipeHelper(uri: Uri, mimeType: String, opts: Bundle, args: T, func: ContentProvider.PipeDataWriter<T>): ParcelFileDescriptor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Specifies a database helper (and corresponding tag) to serialize all transactions on.
Link copied to clipboard