Preferences_Activity

Author

martin

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
private open class On_Settings_Changed
listener handling setting changes.

Properties

Link copied to clipboard
listener handling setting changes.
Link copied to clipboard
val FA2_Directory: String = "FA2_Directory"
preference key for to the FA 2 Tape output directory
Link copied to clipboard
val FA2_SDCard: String = "FA2_SDCard"
preference key for to the use sd card flag
Link copied to clipboard
val Feedback_Notification: String = "Feedback_Notification"
preference key for the notification flag
Link copied to clipboard
private open var Old_Directory: File
The directory where the programs are kept.
Link copied to clipboard
private open var Preferences: IPreferences_
cache the preferences.
Link copied to clipboard
private open var Settings: SharedPreferences
shared setting for the application.
Link copied to clipboard
private val TAG: String
logging tag

Functions

Link copied to clipboard
open fun After_Views()
Called when the views are prepared.
Link copied to clipboard
open fun Data_Changed(Context: Context)
Mark preferences as changed for later backup
Link copied to clipboard
protected open fun Directory_Locator(): Uri
protected open fun Directory_Locator(value: Uri)
Link copied to clipboard
open fun Error_Handler(Context: Context): Error_Handle_Type
Save / load using the FA 2 interface
open fun Error_Handler(Context: Context, Error_Handler: Error_Handle_Type)
set the large screen (used for unit tests only).
Link copied to clipboard
open fun FA2_Directory(Context: Context): String
Directory where the FA2 files are stored.
open fun FA2_Directory(Context: Context, value: String)
set the large screen (used for unit tests only).
Link copied to clipboard
open fun FA2_Enable(Context: Context): Boolean
Save / load using the FA 2 interface
open fun FA2_Enable(Context: Context, Enable: Boolean)
set the large screen (used for unit tests only).
Link copied to clipboard
open fun FA2_SDCard(Context: Context): Boolean
Save / load using the FA 2 interface
open fun FA2_SDCard(Context: Context, Enable: Boolean)
set the large screen (used for unit tests only).
Link copied to clipboard
open fun Feedback_Notification(Context: Context): Boolean
Show notification when program is executed
open fun Feedback_Notification(Context: Context, Enable: Boolean)
set the large screen (used for unit tests only).
Link copied to clipboard
open fun Feedback_Vibrate(Context: Context): Boolean
Vibrate an button click
open fun Feedback_Vibrate(Context: Context, Enable: Boolean)
set feedback vibrate (used for unit tests only).
Link copied to clipboard
open fun FP10_Enable(Context: Context): Boolean
Save / load using the FA 2 interface
open fun FP10_Enable(Context: Context, Enable: Boolean)
set the large screen (used for unit tests only).
Link copied to clipboard
open fun FP10_Printout(Context: Context): String
open fun FP10_Printout(Context: Context, Printout: String)
get the FP10 printout
Link copied to clipboard
open fun FP10_Size(Context: Context): Int
Save / load using the FA 2 interface
Link copied to clipboard
private open fun FP10_Size_Clear(Context: Context)
Clear large Screen
Link copied to clipboard
open fun Large_Screen(Context: Context): Large_Screen_Type
Save / load using the FA 2 interface
open fun Large_Screen(Context: Context, Large_Screen: Large_Screen_Type)
set the large screen (used for unit tests only).
Link copied to clipboard
private open fun Large_Screen_Clear(Context: Context)
Clear large Screen
Link copied to clipboard
open fun onDestroy()
application shut down
Link copied to clipboard
open fun Preferences(Context: Context): IPreferences_
preferences from context
Link copied to clipboard
open fun toString(): String