1 /*
2  * Copyright (C) 2024 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.systemui.screenrecord
18 
19 import android.content.res.Resources
20 import com.android.systemui.res.R
21 
22 open class RecordingServiceStrings(private val res: Resources) {
23     open val title
24         get() = res.getString(R.string.screenrecord_title)
25     open val notificationChannelDescription
26         get() = res.getString(R.string.screenrecord_channel_description)
27     open val startErrorResId
28         get() = R.string.screenrecord_start_error
29     open val startError
30         get() = res.getString(R.string.screenrecord_start_error)
31     open val saveErrorResId
32         get() = R.string.screenrecord_save_error
33     open val saveError
34         get() = res.getString(R.string.screenrecord_save_error)
35     open val ongoingRecording
36         get() = res.getString(R.string.screenrecord_ongoing_screen_only)
37     open val backgroundProcessingLabel
38         get() = res.getString(R.string.screenrecord_background_processing_label)
39     open val saveTitle
40         get() = res.getString(R.string.screenrecord_save_title)
41 
42     val saveText
43         get() = res.getString(R.string.screenrecord_save_text)
44     val ongoingRecordingWithAudio
45         get() = res.getString(R.string.screenrecord_ongoing_screen_and_audio)
46     val stopLabel
47         get() = res.getString(R.string.screenrecord_stop_label)
48     val shareLabel
49         get() = res.getString(R.string.screenrecord_share_label)
50 }
51