Class ChapterRestriction

java.lang.Object
de.sonallux.spotify.api.models.ChapterRestriction

public class ChapterRestriction extends Object
ChapterRestrictionObject
  • Field Details

    • reason

      public String reason

      The reason for the restriction. Supported values:

      • market - The content item is not available in the given market.
      • product - The content item is not available for the user's subscription type.
      • explicit - The content item is explicit and the user's account is set to not play explicit content.
      • payment_required - Payment is required to play the content item.

      Additional reasons may be added in the future. Note: If you use this field, make sure that your application safely handles unknown values.

  • Constructor Details

    • ChapterRestriction

      public ChapterRestriction()