クラス PushNotificationTarget

java.lang.Object
org.iplass.mtp.pushnotification.fcmv1.PushNotificationTarget

public class PushNotificationTarget extends Object
FCM v1 API 用 Push 通知対象
  • コンストラクタの詳細

    • PushNotificationTarget

      public PushNotificationTarget(PushNotificationTargetType type, String target)
      コンストラクタ
      パラメータ:
      type - 対象タイプ
      target - 通知対象
  • メソッドの詳細

    • getType

      public PushNotificationTargetType getType()
      対象タイプを取得します
      戻り値:
      対象タイプ
    • getTarget

      public String getTarget()
      通知対象を取得します
      戻り値:
      通知対象
    • toString

      public String toString()
      オーバーライド:
      toString クラス内 Object
    • create

      public static PushNotificationTarget create(String anyPrefixedValue)
      通知対象インスタンスを作成する
      パラメータ:
      anyPrefixedValue - トークン、トピック、条件のいずれかのプレフィックス付き宛先
      戻り値:
      通知対象