TestServiceの全体的なリファクタリング #28

Merged
asura146 merged 73 commits from improve/refactor_service into main 2024-07-12 02:17:26 +00:00
Showing only changes of commit 2bf618a3f2 - Show all commits

View File

@ -218,6 +218,11 @@ public class TestService extends Service {
} }
} }
/**
* 通知を送信する
* @param context コンテキスト
* @param content NotificationContent 通知内容
*/
public void sendNotification(Context context, NotificationContent content) {//通知を行うメソッド public void sendNotification(Context context, NotificationContent content) {//通知を行うメソッド
// 権限の保有を確認 // 権限の保有を確認
@ -283,7 +288,6 @@ public class TestService extends Service {
} }
}; };
@Nullable @Nullable
@Override @Override
public IBinder onBind(Intent intent) { public IBinder onBind(Intent intent) {