文本文件  |  133行  |  8.78 KB

package androidx.recommendation.app {

  public final class ContentRecommendation {
    method public java.lang.String getBackgroundImageUri();
    method public int getBadgeImageResourceId();
    method public int getColor();
    method public android.graphics.Bitmap getContentImage();
    method public androidx.recommendation.app.ContentRecommendation.IntentData getContentIntent();
    method public java.lang.String[] getContentTypes();
    method public androidx.recommendation.app.ContentRecommendation.IntentData getDismissIntent();
    method public java.lang.String[] getGenres();
    method public java.lang.String getGroup();
    method public java.lang.String getIdTag();
    method public java.lang.String getMaturityRating();
    method public android.app.Notification getNotificationObject(android.content.Context);
    method public java.lang.String getPricingType();
    method public java.lang.String getPricingValue();
    method public java.lang.String getPrimaryContentType();
    method public int getProgressMax();
    method public int getProgressValue();
    method public long getRunningTime();
    method public java.lang.String getSortKey();
    method public java.lang.String getSourceName();
    method public int getStatus();
    method public java.lang.String getText();
    method public java.lang.String getTitle();
    method public boolean hasProgressInfo();
    method public boolean isAutoDismiss();
    method public void setAutoDismiss(boolean);
    method public void setGroup(java.lang.String);
    method public void setProgress(int, int);
    method public void setSortKey(java.lang.String);
    method public void setStatus(int);
    field public static final java.lang.String CONTENT_MATURITY_ALL = "android.contentMaturity.all";
    field public static final java.lang.String CONTENT_MATURITY_HIGH = "android.contentMaturity.high";
    field public static final java.lang.String CONTENT_MATURITY_LOW = "android.contentMaturity.low";
    field public static final java.lang.String CONTENT_MATURITY_MEDIUM = "android.contentMaturity.medium";
    field public static final java.lang.String CONTENT_PRICING_FREE = "android.contentPrice.free";
    field public static final java.lang.String CONTENT_PRICING_PREORDER = "android.contentPrice.preorder";
    field public static final java.lang.String CONTENT_PRICING_PURCHASE = "android.contentPrice.purchase";
    field public static final java.lang.String CONTENT_PRICING_RENTAL = "android.contentPrice.rental";
    field public static final java.lang.String CONTENT_PRICING_SUBSCRIPTION = "android.contentPrice.subscription";
    field public static final int CONTENT_STATUS_AVAILABLE = 2; // 0x2
    field public static final int CONTENT_STATUS_PENDING = 1; // 0x1
    field public static final int CONTENT_STATUS_READY = 0; // 0x0
    field public static final int CONTENT_STATUS_UNAVAILABLE = 3; // 0x3
    field public static final java.lang.String CONTENT_TYPE_APP = "android.contentType.app";
    field public static final java.lang.String CONTENT_TYPE_BOOK = "android.contentType.book";
    field public static final java.lang.String CONTENT_TYPE_COMIC = "android.contentType.comic";
    field public static final java.lang.String CONTENT_TYPE_GAME = "android.contentType.game";
    field public static final java.lang.String CONTENT_TYPE_MAGAZINE = "android.contentType.magazine";
    field public static final java.lang.String CONTENT_TYPE_MOVIE = "android.contentType.movie";
    field public static final java.lang.String CONTENT_TYPE_MUSIC = "android.contentType.music";
    field public static final java.lang.String CONTENT_TYPE_NEWS = "android.contentType.news";
    field public static final java.lang.String CONTENT_TYPE_PODCAST = "android.contentType.podcast";
    field public static final java.lang.String CONTENT_TYPE_RADIO = "android.contentType.radio";
    field public static final java.lang.String CONTENT_TYPE_SERIAL = "android.contentType.serial";
    field public static final java.lang.String CONTENT_TYPE_SPORTS = "android.contentType.sports";
    field public static final java.lang.String CONTENT_TYPE_TRAILER = "android.contentType.trailer";
    field public static final java.lang.String CONTENT_TYPE_VIDEO = "android.contentType.video";
    field public static final java.lang.String CONTENT_TYPE_WEBSITE = "android.contentType.website";
    field public static final int INTENT_TYPE_ACTIVITY = 1; // 0x1
    field public static final int INTENT_TYPE_BROADCAST = 2; // 0x2
    field public static final int INTENT_TYPE_SERVICE = 3; // 0x3
  }

  public static final class ContentRecommendation.Builder {
    ctor public ContentRecommendation.Builder();
    method public androidx.recommendation.app.ContentRecommendation build();
    method public androidx.recommendation.app.ContentRecommendation.Builder setAutoDismiss(boolean);
    method public androidx.recommendation.app.ContentRecommendation.Builder setBackgroundImageUri(java.lang.String);
    method public androidx.recommendation.app.ContentRecommendation.Builder setBadgeIcon(int);
    method public androidx.recommendation.app.ContentRecommendation.Builder setColor(int);
    method public androidx.recommendation.app.ContentRecommendation.Builder setContentImage(android.graphics.Bitmap);
    method public androidx.recommendation.app.ContentRecommendation.Builder setContentIntentData(int, android.content.Intent, int, android.os.Bundle);
    method public androidx.recommendation.app.ContentRecommendation.Builder setContentTypes(java.lang.String[]);
    method public androidx.recommendation.app.ContentRecommendation.Builder setDismissIntentData(int, android.content.Intent, int, android.os.Bundle);
    method public androidx.recommendation.app.ContentRecommendation.Builder setGenres(java.lang.String[]);
    method public androidx.recommendation.app.ContentRecommendation.Builder setGroup(java.lang.String);
    method public androidx.recommendation.app.ContentRecommendation.Builder setIdTag(java.lang.String);
    method public androidx.recommendation.app.ContentRecommendation.Builder setMaturityRating(java.lang.String);
    method public androidx.recommendation.app.ContentRecommendation.Builder setPricingInformation(java.lang.String, java.lang.String);
    method public androidx.recommendation.app.ContentRecommendation.Builder setProgress(int, int);
    method public androidx.recommendation.app.ContentRecommendation.Builder setRunningTime(long);
    method public androidx.recommendation.app.ContentRecommendation.Builder setSortKey(java.lang.String);
    method public androidx.recommendation.app.ContentRecommendation.Builder setSourceName(java.lang.String);
    method public androidx.recommendation.app.ContentRecommendation.Builder setStatus(int);
    method public androidx.recommendation.app.ContentRecommendation.Builder setText(java.lang.String);
    method public androidx.recommendation.app.ContentRecommendation.Builder setTitle(java.lang.String);
  }

  public static abstract class ContentRecommendation.ContentMaturity implements java.lang.annotation.Annotation {
  }

  public static abstract class ContentRecommendation.ContentPricing implements java.lang.annotation.Annotation {
  }

  public static abstract class ContentRecommendation.ContentStatus implements java.lang.annotation.Annotation {
  }

  public static abstract class ContentRecommendation.ContentType implements java.lang.annotation.Annotation {
  }

  public static class ContentRecommendation.IntentData {
    ctor public ContentRecommendation.IntentData();
  }

  public static abstract class ContentRecommendation.IntentType implements java.lang.annotation.Annotation {
  }

  public final class RecommendationExtender implements android.app.Notification.Extender {
    ctor public RecommendationExtender();
    ctor public RecommendationExtender(android.app.Notification);
    method public android.app.Notification.Builder extend(android.app.Notification.Builder);
    method public java.lang.String[] getContentTypes();
    method public java.lang.String[] getGenres();
    method public java.lang.String getMaturityRating();
    method public java.lang.String getPricingType();
    method public java.lang.String getPricingValue();
    method public java.lang.String getPrimaryContentType();
    method public long getRunningTime();
    method public int getStatus();
    method public androidx.recommendation.app.RecommendationExtender setContentTypes(java.lang.String[]);
    method public androidx.recommendation.app.RecommendationExtender setGenres(java.lang.String[]);
    method public androidx.recommendation.app.RecommendationExtender setMaturityRating(java.lang.String);
    method public androidx.recommendation.app.RecommendationExtender setPricingInformation(java.lang.String, java.lang.String);
    method public androidx.recommendation.app.RecommendationExtender setRunningTime(long);
    method public androidx.recommendation.app.RecommendationExtender setStatus(int);
  }

}