Skip to content

Commit 6491f1e

Browse files
committed
주석 추가.
1 parent 2676eed commit 6491f1e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

audioControllerLibrary/src/main/java/com/example/audiocontrollerlibrary/AudioController.kt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,27 @@ class AudioController @JvmOverloads constructor(
102102
return "%02d:%02d:%02d".format(hour, minute, second)
103103
}
104104

105+
/**
106+
* Sets the audio file to play.
107+
*/
105108
fun setAudioSource(filepath: String) {
106109
AudioPlayer.ready(filepath)
107110
}
108111

112+
/**
113+
* Sets the background color for the layout.
114+
*/
109115
fun setLayoutBackgroundColor(color: Int) {
110116
binding.root.setBackgroundColor(color)
111117
}
112118

119+
/*
120+
/**
121+
* Sets the text color for the timestamps.
122+
*/
113123
fun setTextColor(color: Int) {
114124
binding.timeStamp1.setTextColor(color)
115125
binding.timeStamp2.setTextColor(color)
116126
}
127+
*/
117128
}

0 commit comments

Comments
 (0)