1package android.support.app.recommendation { 2 3 public final class ContentRecommendation { 4 method public java.lang.String getBackgroundImageUri(); 5 method public int getBadgeImageResourceId(); 6 method public int getColor(); 7 method public android.graphics.Bitmap getContentImage(); 8 method public android.support.app.recommendation.ContentRecommendation.IntentData getContentIntent(); 9 method public java.lang.String[] getContentTypes(); 10 method public android.support.app.recommendation.ContentRecommendation.IntentData getDismissIntent(); 11 method public java.lang.String[] getGenres(); 12 method public java.lang.String getGroup(); 13 method public java.lang.String getIdTag(); 14 method public java.lang.String getMaturityRating(); 15 method public android.app.Notification getNotificationObject(android.content.Context); 16 method public java.lang.String getPricingType(); 17 method public java.lang.String getPricingValue(); 18 method public java.lang.String getPrimaryContentType(); 19 method public int getProgressMax(); 20 method public int getProgressValue(); 21 method public long getRunningTime(); 22 method public java.lang.String getSortKey(); 23 method public java.lang.String getSourceName(); 24 method public int getStatus(); 25 method public java.lang.String getText(); 26 method public java.lang.String getTitle(); 27 method public boolean hasProgressInfo(); 28 method public boolean isAutoDismiss(); 29 method public void setAutoDismiss(boolean); 30 method public void setGroup(java.lang.String); 31 method public void setProgress(int, int); 32 method public void setSortKey(java.lang.String); 33 method public void setStatus(int); 34 field public static final java.lang.String CONTENT_MATURITY_ALL = "android.contentMaturity.all"; 35 field public static final java.lang.String CONTENT_MATURITY_HIGH = "android.contentMaturity.high"; 36 field public static final java.lang.String CONTENT_MATURITY_LOW = "android.contentMaturity.low"; 37 field public static final java.lang.String CONTENT_MATURITY_MEDIUM = "android.contentMaturity.medium"; 38 field public static final java.lang.String CONTENT_PRICING_FREE = "android.contentPrice.free"; 39 field public static final java.lang.String CONTENT_PRICING_PREORDER = "android.contentPrice.preorder"; 40 field public static final java.lang.String CONTENT_PRICING_PURCHASE = "android.contentPrice.purchase"; 41 field public static final java.lang.String CONTENT_PRICING_RENTAL = "android.contentPrice.rental"; 42 field public static final java.lang.String CONTENT_PRICING_SUBSCRIPTION = "android.contentPrice.subscription"; 43 field public static final int CONTENT_STATUS_AVAILABLE = 2; // 0x2 44 field public static final int CONTENT_STATUS_PENDING = 1; // 0x1 45 field public static final int CONTENT_STATUS_READY = 0; // 0x0 46 field public static final int CONTENT_STATUS_UNAVAILABLE = 3; // 0x3 47 field public static final java.lang.String CONTENT_TYPE_APP = "android.contentType.app"; 48 field public static final java.lang.String CONTENT_TYPE_BOOK = "android.contentType.book"; 49 field public static final java.lang.String CONTENT_TYPE_COMIC = "android.contentType.comic"; 50 field public static final java.lang.String CONTENT_TYPE_GAME = "android.contentType.game"; 51 field public static final java.lang.String CONTENT_TYPE_MAGAZINE = "android.contentType.magazine"; 52 field public static final java.lang.String CONTENT_TYPE_MOVIE = "android.contentType.movie"; 53 field public static final java.lang.String CONTENT_TYPE_MUSIC = "android.contentType.music"; 54 field public static final java.lang.String CONTENT_TYPE_NEWS = "android.contentType.news"; 55 field public static final java.lang.String CONTENT_TYPE_PODCAST = "android.contentType.podcast"; 56 field public static final java.lang.String CONTENT_TYPE_RADIO = "android.contentType.radio"; 57 field public static final java.lang.String CONTENT_TYPE_SERIAL = "android.contentType.serial"; 58 field public static final java.lang.String CONTENT_TYPE_SPORTS = "android.contentType.sports"; 59 field public static final java.lang.String CONTENT_TYPE_TRAILER = "android.contentType.trailer"; 60 field public static final java.lang.String CONTENT_TYPE_VIDEO = "android.contentType.video"; 61 field public static final java.lang.String CONTENT_TYPE_WEBSITE = "android.contentType.website"; 62 field public static final int INTENT_TYPE_ACTIVITY = 1; // 0x1 63 field public static final int INTENT_TYPE_BROADCAST = 2; // 0x2 64 field public static final int INTENT_TYPE_SERVICE = 3; // 0x3 65 } 66 67 public static final class ContentRecommendation.Builder { 68 ctor public ContentRecommendation.Builder(); 69 method public android.support.app.recommendation.ContentRecommendation build(); 70 method public android.support.app.recommendation.ContentRecommendation.Builder setAutoDismiss(boolean); 71 method public android.support.app.recommendation.ContentRecommendation.Builder setBackgroundImageUri(java.lang.String); 72 method public android.support.app.recommendation.ContentRecommendation.Builder setBadgeIcon(int); 73 method public android.support.app.recommendation.ContentRecommendation.Builder setColor(int); 74 method public android.support.app.recommendation.ContentRecommendation.Builder setContentImage(android.graphics.Bitmap); 75 method public android.support.app.recommendation.ContentRecommendation.Builder setContentIntentData(int, android.content.Intent, int, android.os.Bundle); 76 method public android.support.app.recommendation.ContentRecommendation.Builder setContentTypes(java.lang.String[]); 77 method public android.support.app.recommendation.ContentRecommendation.Builder setDismissIntentData(int, android.content.Intent, int, android.os.Bundle); 78 method public android.support.app.recommendation.ContentRecommendation.Builder setGenres(java.lang.String[]); 79 method public android.support.app.recommendation.ContentRecommendation.Builder setGroup(java.lang.String); 80 method public android.support.app.recommendation.ContentRecommendation.Builder setIdTag(java.lang.String); 81 method public android.support.app.recommendation.ContentRecommendation.Builder setMaturityRating(java.lang.String); 82 method public android.support.app.recommendation.ContentRecommendation.Builder setPricingInformation(java.lang.String, java.lang.String); 83 method public android.support.app.recommendation.ContentRecommendation.Builder setProgress(int, int); 84 method public android.support.app.recommendation.ContentRecommendation.Builder setRunningTime(long); 85 method public android.support.app.recommendation.ContentRecommendation.Builder setSortKey(java.lang.String); 86 method public android.support.app.recommendation.ContentRecommendation.Builder setSourceName(java.lang.String); 87 method public android.support.app.recommendation.ContentRecommendation.Builder setStatus(int); 88 method public android.support.app.recommendation.ContentRecommendation.Builder setText(java.lang.String); 89 method public android.support.app.recommendation.ContentRecommendation.Builder setTitle(java.lang.String); 90 } 91 92 public static abstract class ContentRecommendation.ContentMaturity implements java.lang.annotation.Annotation { 93 } 94 95 public static abstract class ContentRecommendation.ContentPricing implements java.lang.annotation.Annotation { 96 } 97 98 public static abstract class ContentRecommendation.ContentStatus implements java.lang.annotation.Annotation { 99 } 100 101 public static abstract class ContentRecommendation.ContentType implements java.lang.annotation.Annotation { 102 } 103 104 public static class ContentRecommendation.IntentData { 105 ctor public ContentRecommendation.IntentData(); 106 } 107 108 public static abstract class ContentRecommendation.IntentType implements java.lang.annotation.Annotation { 109 } 110 111 public final class RecommendationExtender implements android.app.Notification.Extender { 112 ctor public RecommendationExtender(); 113 ctor public RecommendationExtender(android.app.Notification); 114 method public android.app.Notification.Builder extend(android.app.Notification.Builder); 115 method public java.lang.String[] getContentTypes(); 116 method public java.lang.String[] getGenres(); 117 method public java.lang.String getMaturityRating(); 118 method public java.lang.String getPricingType(); 119 method public java.lang.String getPricingValue(); 120 method public java.lang.String getPrimaryContentType(); 121 method public long getRunningTime(); 122 method public int getStatus(); 123 method public android.support.app.recommendation.RecommendationExtender setContentTypes(java.lang.String[]); 124 method public android.support.app.recommendation.RecommendationExtender setGenres(java.lang.String[]); 125 method public android.support.app.recommendation.RecommendationExtender setMaturityRating(java.lang.String); 126 method public android.support.app.recommendation.RecommendationExtender setPricingInformation(java.lang.String, java.lang.String); 127 method public android.support.app.recommendation.RecommendationExtender setRunningTime(long); 128 method public android.support.app.recommendation.RecommendationExtender setStatus(int); 129 } 130 131} 132 133