LocalLogSession

A log session on the local content provider.

If the nRF Logger application is not installed on the phone/tablet application may still use the logger functionality with its own provider. LocalLogSession offers a limited set of features comparing to LogSession, it does not keep the application data. The local provider does not allow to mark sessions or add descriptions.

This requires LocalLogContentProvider to be declared in the application manifest.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun delete()
Deletes the session and all its entries from the local database.
Link copied to clipboard
Returns the session read-only content Uri.
Link copied to clipboard
Returns the session entries Uri.
Link copied to clipboard
open fun newSession(@NonNull context: Context, @NonNull authority: Uri, @NonNull key: String, @Nullable name: String): LocalLogSession
Creates new logger session.