Fetching details from the dictionary...
while in class
授業じゅぎょう中ちゅうに寝ねてしまった。
I fell asleep in class.
授業じゅぎょう中ちゅうの発言はつげんは手てを挙げあげてからにする。
Raise your hand before speaking during class.
授業じゅぎょう中ちゅうはスマートフォンを使わつかわないようにしている。
I try not to use my smartphone during class.