diff --git a/docs/doc/reference/allclasses-index.html b/docs/doc/reference/allclasses-index.html
index 31e9e44e453..3ce7d7aafff 100644
--- a/docs/doc/reference/allclasses-index.html
+++ b/docs/doc/reference/allclasses-index.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":2,"i1":32,"i2":2,"i3":2,"i4":2,"i5":2,"i6":2,"i7":2,"i8":32,"i9":2,"i10":2,"i11":2,"i12":2,"i13":2,"i14":2,"i15":2,"i16":2,"i17":2,"i18":2,"i19":2,"i20":2,"i21":2,"i22":2,"i23":2,"i24":2,"i25":2,"i26":2,"i27":2,"i28":2,"i29":2,"i30":2,"i31":2,"i32":2,"i33":2,"i34":2,"i35":2,"i36":2,"i37":2,"i38":2,"i39":2,"i40":2,"i41":2,"i42":2,"i43":2,"i44":2,"i45":2,"i46":1,"i47":2,"i48":2,"i49":1,"i50":2,"i51":2,"i52":2,"i53":2,"i54":2,"i55":2,"i56":2,"i57":32,"i58":2,"i59":2,"i60":32,"i61":1,"i62":1,"i63":1,"i64":2,"i65":8,"i66":32,"i67":2,"i68":32,"i69":2,"i70":1,"i71":2,"i72":2,"i73":2,"i74":2,"i75":1,"i76":1,"i77":2,"i78":32,"i79":1,"i80":1,"i81":32,"i82":2,"i83":2,"i84":2,"i85":2,"i86":2,"i87":2,"i88":1,"i89":32,"i90":2,"i91":2,"i92":2,"i93":8,"i94":2,"i95":2,"i96":2,"i97":2,"i98":2,"i99":1,"i100":1,"i101":2,"i102":8,"i103":1,"i104":2,"i105":1,"i106":8,"i107":8,"i108":1,"i109":32,"i110":8,"i111":8,"i112":2,"i113":2,"i114":1,"i115":1,"i116":2,"i117":2,"i118":2,"i119":2,"i120":2,"i121":2,"i122":2,"i123":2,"i124":2,"i125":2,"i126":2,"i127":2,"i128":8,"i129":2,"i130":2,"i131":2,"i132":2,"i133":2,"i134":1,"i135":2,"i136":1,"i137":2,"i138":1,"i139":1,"i140":2,"i141":2,"i142":2,"i143":2,"i144":2,"i145":2,"i146":2,"i147":2,"i148":2,"i149":32,"i150":32,"i151":32,"i152":32,"i153":32,"i154":32,"i155":32,"i156":32,"i157":32,"i158":32,"i159":32,"i160":32,"i161":32,"i162":32,"i163":32,"i164":32,"i165":32,"i166":32,"i167":32,"i168":32,"i169":32,"i170":32,"i171":32,"i172":32,"i173":32,"i174":32,"i175":32,"i176":32,"i177":1,"i178":8,"i179":1,"i180":2,"i181":2,"i182":2,"i183":8,"i184":2,"i185":2,"i186":32,"i187":1,"i188":2,"i189":32,"i190":2,"i191":1,"i192":1,"i193":2,"i194":2,"i195":1,"i196":1,"i197":2,"i198":2,"i199":32,"i200":2,"i201":2,"i202":2,"i203":2,"i204":2,"i205":2,"i206":2,"i207":2,"i208":2,"i209":1,"i210":1,"i211":1,"i212":2,"i213":2,"i214":2,"i215":1,"i216":1,"i217":2,"i218":2,"i219":8,"i220":32,"i221":1,"i222":2,"i223":1,"i224":1,"i225":2,"i226":2,"i227":2,"i228":2,"i229":2,"i230":2,"i231":1,"i232":2,"i233":2,"i234":2,"i235":1,"i236":2,"i237":2,"i238":8,"i239":1,"i240":2,"i241":2,"i242":2,"i243":2,"i244":8,"i245":2,"i246":2,"i247":2,"i248":1,"i249":8,"i250":2,"i251":2,"i252":32,"i253":2,"i254":32,"i255":32,"i256":32,"i257":2,"i258":2,"i259":1,"i260":1,"i261":2,"i262":2,"i263":2,"i264":2,"i265":8,"i266":2,"i267":2,"i268":1,"i269":2,"i270":2,"i271":8,"i272":1,"i273":2,"i274":1,"i275":2,"i276":1,"i277":1,"i278":1,"i279":1,"i280":2,"i281":2,"i282":2,"i283":2,"i284":8,"i285":2,"i286":2,"i287":2,"i288":2,"i289":32,"i290":32,"i291":2,"i292":1,"i293":2,"i294":2,"i295":2,"i296":8,"i297":2,"i298":32,"i299":8,"i300":2,"i301":1,"i302":2,"i303":32,"i304":32,"i305":2,"i306":2,"i307":2,"i308":2,"i309":1,"i310":2,"i311":2,"i312":8,"i313":32,"i314":32,"i315":2,"i316":2,"i317":2,"i318":2,"i319":2,"i320":2,"i321":2,"i322":2,"i323":2,"i324":2,"i325":2,"i326":2,"i327":2,"i328":2,"i329":2,"i330":2,"i331":2,"i332":2,"i333":2,"i334":8,"i335":32,"i336":2,"i337":2,"i338":2,"i339":2,"i340":2,"i341":2,"i342":2,"i343":2,"i344":2,"i345":2,"i346":2,"i347":2,"i348":2,"i349":2,"i350":2,"i351":2,"i352":2,"i353":2,"i354":2,"i355":1,"i356":2,"i357":2,"i358":32,"i359":2,"i360":2,"i361":2,"i362":2,"i363":2,"i364":2,"i365":2,"i366":2,"i367":2,"i368":32,"i369":2,"i370":2,"i371":32,"i372":2,"i373":2,"i374":32,"i375":2,"i376":2,"i377":32,"i378":32,"i379":2,"i380":1,"i381":1,"i382":1,"i383":1,"i384":8,"i385":2,"i386":1,"i387":8,"i388":1,"i389":2,"i390":1,"i391":2,"i392":2,"i393":2,"i394":2,"i395":8,"i396":2,"i397":2,"i398":2,"i399":1,"i400":8,"i401":32,"i402":1,"i403":2,"i404":1,"i405":1,"i406":1,"i407":2,"i408":32,"i409":2,"i410":2,"i411":2,"i412":2,"i413":2,"i414":2,"i415":1,"i416":2,"i417":2,"i418":2,"i419":2,"i420":1,"i421":2,"i422":2,"i423":2,"i424":1,"i425":32,"i426":2,"i427":8,"i428":32,"i429":1,"i430":1,"i431":2,"i432":2,"i433":1,"i434":2,"i435":2,"i436":2,"i437":2,"i438":2,"i439":2,"i440":2,"i441":2,"i442":1,"i443":2,"i444":2,"i445":32,"i446":2,"i447":1,"i448":1,"i449":1,"i450":1,"i451":2,"i452":8,"i453":32,"i454":1,"i455":1,"i456":1,"i457":2,"i458":1,"i459":1,"i460":1,"i461":2,"i462":2,"i463":2,"i464":2,"i465":8,"i466":32,"i467":1,"i468":2,"i469":1,"i470":1,"i471":32,"i472":2,"i473":2,"i474":2,"i475":1,"i476":2,"i477":1,"i478":1,"i479":1,"i480":2,"i481":2,"i482":2,"i483":2,"i484":2,"i485":2,"i486":2,"i487":2,"i488":2,"i489":2,"i490":2,"i491":2,"i492":2,"i493":2,"i494":2,"i495":2,"i496":2,"i497":2,"i498":2,"i499":2,"i500":2,"i501":2,"i502":2,"i503":8,"i504":2,"i505":2,"i506":2,"i507":2,"i508":2,"i509":1,"i510":2,"i511":2,"i512":2,"i513":2,"i514":2,"i515":2,"i516":2,"i517":2,"i518":2,"i519":2,"i520":2,"i521":1,"i522":2,"i523":2,"i524":2,"i525":2,"i526":8,"i527":2,"i528":2,"i529":2,"i530":8,"i531":2,"i532":32,"i533":1,"i534":2,"i535":2,"i536":2,"i537":2,"i538":2,"i539":8,"i540":2,"i541":2,"i542":32,"i543":32,"i544":2,"i545":2,"i546":2,"i547":2,"i548":2,"i549":2,"i550":2,"i551":2,"i552":2,"i553":2,"i554":2,"i555":2,"i556":2,"i557":2,"i558":2,"i559":2,"i560":2,"i561":2,"i562":2,"i563":32,"i564":2,"i565":2,"i566":2,"i567":2,"i568":8,"i569":2,"i570":2,"i571":2,"i572":8,"i573":2,"i574":2,"i575":2,"i576":2,"i577":2,"i578":1,"i579":1,"i580":2,"i581":2,"i582":1,"i583":2,"i584":1,"i585":2,"i586":2,"i587":1,"i588":2,"i589":2,"i590":2,"i591":32,"i592":2,"i593":2,"i594":2,"i595":2,"i596":2,"i597":2,"i598":32,"i599":2,"i600":2,"i601":2,"i602":2,"i603":2,"i604":8,"i605":1,"i606":1,"i607":1,"i608":1,"i609":8,"i610":8,"i611":1,"i612":2,"i613":2,"i614":2,"i615":2,"i616":1,"i617":1,"i618":2,"i619":8,"i620":1,"i621":8,"i622":32,"i623":8,"i624":8,"i625":2,"i626":2,"i627":2,"i628":2,"i629":2,"i630":2,"i631":2,"i632":2,"i633":1,"i634":2,"i635":2,"i636":2,"i637":8,"i638":2,"i639":2,"i640":2,"i641":2,"i642":2,"i643":2,"i644":2,"i645":2,"i646":2,"i647":2,"i648":2,"i649":2,"i650":2,"i651":8,"i652":1,"i653":2,"i654":2,"i655":2,"i656":2,"i657":2,"i658":2,"i659":2,"i660":2,"i661":2,"i662":1,"i663":1,"i664":1,"i665":1,"i666":2,"i667":1,"i668":1,"i669":2,"i670":1,"i671":8,"i672":1,"i673":2,"i674":1,"i675":2,"i676":2,"i677":32,"i678":2,"i679":2,"i680":2,"i681":2,"i682":32,"i683":2,"i684":2,"i685":2,"i686":2,"i687":32,"i688":2,"i689":1,"i690":2,"i691":2,"i692":2,"i693":32,"i694":2,"i695":2,"i696":2,"i697":1,"i698":1,"i699":1,"i700":2,"i701":1,"i702":1,"i703":2,"i704":8,"i705":2,"i706":2,"i707":8,"i708":1,"i709":2,"i710":8,"i711":8,"i712":2,"i713":2,"i714":1,"i715":8,"i716":2,"i717":2,"i718":2,"i719":2,"i720":2,"i721":2,"i722":2,"i723":2,"i724":2,"i725":2,"i726":2,"i727":2,"i728":2,"i729":2,"i730":2,"i731":2,"i732":2,"i733":1,"i734":1,"i735":2,"i736":2,"i737":2,"i738":32,"i739":32,"i740":2,"i741":2,"i742":2,"i743":2,"i744":2,"i745":1,"i746":1,"i747":2,"i748":1,"i749":2,"i750":2,"i751":1,"i752":1,"i753":1,"i754":2,"i755":1,"i756":1,"i757":32,"i758":1,"i759":1,"i760":1,"i761":1,"i762":1,"i763":1,"i764":2,"i765":1,"i766":1,"i767":2,"i768":1,"i769":2,"i770":2,"i771":8,"i772":32,"i773":2,"i774":1,"i775":1,"i776":1,"i777":2,"i778":1,"i779":2,"i780":2,"i781":2,"i782":2,"i783":2,"i784":2,"i785":32,"i786":2,"i787":32,"i788":2,"i789":2,"i790":2,"i791":2,"i792":2,"i793":2,"i794":2,"i795":2,"i796":2,"i797":2,"i798":1,"i799":32,"i800":2,"i801":2,"i802":2,"i803":32,"i804":2,"i805":2,"i806":2,"i807":2,"i808":2,"i809":2,"i810":2,"i811":8,"i812":2,"i813":2,"i814":2,"i815":2,"i816":2,"i817":2,"i818":8,"i819":2,"i820":1,"i821":2,"i822":2,"i823":2,"i824":2,"i825":2,"i826":2,"i827":2,"i828":2,"i829":8,"i830":32,"i831":32,"i832":2,"i833":2,"i834":1,"i835":1,"i836":2,"i837":2,"i838":2,"i839":2,"i840":2,"i841":1,"i842":1,"i843":32,"i844":2,"i845":2,"i846":32,"i847":32,"i848":2,"i849":1,"i850":32,"i851":32,"i852":32,"i853":2,"i854":32,"i855":32,"i856":32,"i857":2,"i858":1,"i859":1,"i860":2,"i861":1,"i862":2,"i863":2,"i864":1,"i865":1,"i866":2,"i867":2,"i868":1,"i869":1,"i870":1,"i871":32,"i872":32,"i873":2,"i874":32,"i875":2,"i876":2,"i877":2,"i878":2,"i879":2,"i880":8,"i881":2,"i882":2,"i883":2,"i884":2,"i885":2,"i886":1,"i887":1,"i888":2,"i889":2,"i890":2,"i891":2,"i892":2,"i893":2,"i894":2,"i895":2,"i896":2,"i897":2,"i898":2,"i899":8,"i900":1,"i901":32,"i902":32,"i903":1,"i904":1,"i905":32,"i906":32,"i907":32,"i908":32,"i909":32,"i910":32,"i911":2,"i912":1,"i913":2,"i914":2,"i915":32,"i916":2,"i917":2,"i918":2,"i919":2,"i920":32,"i921":2,"i922":1,"i923":2,"i924":2,"i925":1,"i926":2,"i927":2,"i928":2,"i929":2,"i930":2,"i931":2,"i932":2,"i933":2,"i934":1,"i935":1,"i936":2,"i937":2,"i938":2,"i939":8,"i940":2,"i941":2,"i942":2,"i943":1,"i944":8,"i945":1,"i946":32,"i947":32,"i948":1,"i949":1,"i950":2,"i951":1,"i952":2,"i953":2,"i954":2,"i955":2,"i956":2,"i957":2,"i958":2,"i959":2,"i960":2,"i961":2,"i962":2,"i963":2,"i964":2,"i965":1,"i966":1,"i967":2,"i968":1,"i969":2,"i970":2,"i971":1,"i972":2,"i973":1,"i974":1,"i975":2,"i976":1,"i977":2,"i978":1,"i979":1,"i980":1,"i981":1,"i982":2,"i983":2,"i984":1,"i985":2,"i986":2,"i987":2,"i988":2,"i989":2,"i990":2,"i991":2,"i992":2,"i993":2,"i994":2,"i995":2,"i996":2,"i997":2,"i998":2,"i999":2,"i1000":2,"i1001":2,"i1002":2,"i1003":2,"i1004":2,"i1005":2,"i1006":2,"i1007":1,"i1008":2,"i1009":2,"i1010":1,"i1011":1,"i1012":1,"i1013":1,"i1014":1,"i1015":1,"i1016":1,"i1017":1,"i1018":1,"i1019":2,"i1020":2,"i1021":1,"i1022":2,"i1023":2,"i1024":2,"i1025":2,"i1026":2,"i1027":2,"i1028":2,"i1029":2,"i1030":2,"i1031":1,"i1032":1,"i1033":2,"i1034":2,"i1035":2,"i1036":2,"i1037":2,"i1038":8,"i1039":2,"i1040":2,"i1041":2,"i1042":2,"i1043":2,"i1044":2,"i1045":2,"i1046":2,"i1047":2,"i1048":2,"i1049":2,"i1050":1,"i1051":1,"i1052":1,"i1053":2,"i1054":32,"i1055":2,"i1056":1,"i1057":1,"i1058":8,"i1059":1,"i1060":2,"i1061":2,"i1062":2,"i1063":2,"i1064":32,"i1065":2,"i1066":2,"i1067":2,"i1068":2,"i1069":1,"i1070":2,"i1071":2,"i1072":2,"i1073":2,"i1074":2,"i1075":2,"i1076":2,"i1077":32,"i1078":2,"i1079":32,"i1080":32,"i1081":2,"i1082":1,"i1083":2,"i1084":2,"i1085":1,"i1086":1,"i1087":2,"i1088":2,"i1089":2,"i1090":2,"i1091":2,"i1092":2,"i1093":2,"i1094":1,"i1095":2,"i1096":1,"i1097":2,"i1098":2,"i1099":2,"i1100":2,"i1101":1,"i1102":2,"i1103":2,"i1104":32,"i1105":2,"i1106":2,"i1107":2,"i1108":1,"i1109":1,"i1110":2,"i1111":32,"i1112":1,"i1113":32,"i1114":2,"i1115":2,"i1116":1,"i1117":2,"i1118":2,"i1119":2,"i1120":2,"i1121":2,"i1122":2,"i1123":1,"i1124":2,"i1125":1,"i1126":2,"i1127":1,"i1128":2,"i1129":2,"i1130":2,"i1131":1,"i1132":8,"i1133":32,"i1134":2,"i1135":2,"i1136":2,"i1137":2,"i1138":1,"i1139":1,"i1140":32,"i1141":2,"i1142":2,"i1143":32,"i1144":1,"i1145":2,"i1146":2,"i1147":1,"i1148":32,"i1149":2,"i1150":2,"i1151":2,"i1152":2,"i1153":2,"i1154":8,"i1155":32,"i1156":8,"i1157":8,"i1158":32,"i1159":2,"i1160":2,"i1161":2,"i1162":2,"i1163":2,"i1164":2,"i1165":2,"i1166":2,"i1167":1,"i1168":1,"i1169":2,"i1170":1,"i1171":2,"i1172":2,"i1173":2,"i1174":2,"i1175":2,"i1176":2,"i1177":2,"i1178":2,"i1179":2,"i1180":2,"i1181":8,"i1182":2,"i1183":2,"i1184":2,"i1185":2,"i1186":2,"i1187":2,"i1188":2,"i1189":32,"i1190":32,"i1191":2,"i1192":2,"i1193":2,"i1194":2,"i1195":2,"i1196":2,"i1197":2,"i1198":2,"i1199":1,"i1200":2};
+var data = {"i0":2,"i1":32,"i2":2,"i3":2,"i4":2,"i5":2,"i6":2,"i7":2,"i8":32,"i9":2,"i10":2,"i11":2,"i12":2,"i13":2,"i14":2,"i15":2,"i16":2,"i17":2,"i18":2,"i19":2,"i20":2,"i21":2,"i22":2,"i23":2,"i24":2,"i25":2,"i26":2,"i27":2,"i28":2,"i29":2,"i30":2,"i31":2,"i32":2,"i33":2,"i34":2,"i35":2,"i36":2,"i37":2,"i38":2,"i39":2,"i40":2,"i41":2,"i42":2,"i43":2,"i44":2,"i45":2,"i46":1,"i47":2,"i48":2,"i49":1,"i50":2,"i51":2,"i52":2,"i53":2,"i54":2,"i55":2,"i56":2,"i57":32,"i58":2,"i59":2,"i60":32,"i61":1,"i62":1,"i63":1,"i64":2,"i65":8,"i66":32,"i67":2,"i68":32,"i69":2,"i70":1,"i71":2,"i72":2,"i73":2,"i74":2,"i75":1,"i76":1,"i77":2,"i78":32,"i79":1,"i80":1,"i81":32,"i82":2,"i83":2,"i84":2,"i85":2,"i86":2,"i87":2,"i88":1,"i89":32,"i90":2,"i91":2,"i92":2,"i93":8,"i94":2,"i95":2,"i96":2,"i97":2,"i98":2,"i99":2,"i100":1,"i101":1,"i102":2,"i103":8,"i104":1,"i105":2,"i106":1,"i107":8,"i108":8,"i109":1,"i110":32,"i111":8,"i112":8,"i113":2,"i114":2,"i115":2,"i116":1,"i117":1,"i118":2,"i119":2,"i120":2,"i121":2,"i122":2,"i123":2,"i124":2,"i125":2,"i126":2,"i127":2,"i128":2,"i129":2,"i130":8,"i131":2,"i132":2,"i133":2,"i134":2,"i135":2,"i136":1,"i137":2,"i138":1,"i139":2,"i140":1,"i141":1,"i142":2,"i143":2,"i144":2,"i145":2,"i146":2,"i147":2,"i148":2,"i149":2,"i150":2,"i151":32,"i152":32,"i153":32,"i154":32,"i155":32,"i156":32,"i157":32,"i158":32,"i159":32,"i160":32,"i161":32,"i162":32,"i163":32,"i164":32,"i165":32,"i166":32,"i167":32,"i168":32,"i169":32,"i170":32,"i171":32,"i172":32,"i173":32,"i174":32,"i175":32,"i176":32,"i177":32,"i178":32,"i179":1,"i180":8,"i181":1,"i182":2,"i183":2,"i184":2,"i185":8,"i186":2,"i187":2,"i188":32,"i189":1,"i190":2,"i191":32,"i192":2,"i193":1,"i194":1,"i195":2,"i196":2,"i197":1,"i198":1,"i199":2,"i200":2,"i201":32,"i202":2,"i203":2,"i204":2,"i205":2,"i206":2,"i207":2,"i208":2,"i209":2,"i210":2,"i211":1,"i212":1,"i213":1,"i214":2,"i215":2,"i216":2,"i217":1,"i218":1,"i219":2,"i220":2,"i221":8,"i222":32,"i223":1,"i224":1,"i225":1,"i226":1,"i227":2,"i228":2,"i229":2,"i230":2,"i231":2,"i232":2,"i233":1,"i234":2,"i235":2,"i236":2,"i237":1,"i238":2,"i239":2,"i240":8,"i241":1,"i242":2,"i243":2,"i244":2,"i245":2,"i246":8,"i247":2,"i248":2,"i249":2,"i250":1,"i251":8,"i252":2,"i253":2,"i254":32,"i255":2,"i256":32,"i257":32,"i258":32,"i259":2,"i260":2,"i261":2,"i262":1,"i263":1,"i264":2,"i265":2,"i266":2,"i267":2,"i268":8,"i269":2,"i270":2,"i271":1,"i272":2,"i273":2,"i274":8,"i275":1,"i276":2,"i277":1,"i278":2,"i279":1,"i280":1,"i281":1,"i282":1,"i283":2,"i284":2,"i285":2,"i286":2,"i287":8,"i288":2,"i289":2,"i290":2,"i291":2,"i292":32,"i293":32,"i294":2,"i295":1,"i296":2,"i297":2,"i298":2,"i299":8,"i300":2,"i301":32,"i302":8,"i303":2,"i304":1,"i305":2,"i306":32,"i307":32,"i308":2,"i309":2,"i310":2,"i311":2,"i312":1,"i313":2,"i314":2,"i315":8,"i316":32,"i317":32,"i318":2,"i319":2,"i320":2,"i321":2,"i322":2,"i323":2,"i324":2,"i325":2,"i326":2,"i327":2,"i328":2,"i329":2,"i330":2,"i331":2,"i332":2,"i333":2,"i334":2,"i335":2,"i336":2,"i337":2,"i338":8,"i339":32,"i340":2,"i341":2,"i342":2,"i343":2,"i344":2,"i345":2,"i346":2,"i347":2,"i348":2,"i349":2,"i350":2,"i351":2,"i352":2,"i353":2,"i354":2,"i355":2,"i356":2,"i357":2,"i358":2,"i359":2,"i360":1,"i361":2,"i362":2,"i363":32,"i364":2,"i365":2,"i366":2,"i367":2,"i368":2,"i369":2,"i370":2,"i371":2,"i372":2,"i373":2,"i374":32,"i375":2,"i376":2,"i377":32,"i378":2,"i379":2,"i380":32,"i381":2,"i382":2,"i383":32,"i384":32,"i385":2,"i386":1,"i387":1,"i388":1,"i389":1,"i390":8,"i391":2,"i392":1,"i393":8,"i394":1,"i395":2,"i396":1,"i397":2,"i398":2,"i399":2,"i400":2,"i401":8,"i402":2,"i403":2,"i404":2,"i405":1,"i406":8,"i407":32,"i408":1,"i409":2,"i410":1,"i411":1,"i412":1,"i413":2,"i414":32,"i415":2,"i416":2,"i417":2,"i418":2,"i419":2,"i420":1,"i421":2,"i422":2,"i423":2,"i424":1,"i425":2,"i426":2,"i427":2,"i428":1,"i429":32,"i430":2,"i431":8,"i432":32,"i433":1,"i434":1,"i435":2,"i436":1,"i437":2,"i438":1,"i439":2,"i440":2,"i441":2,"i442":2,"i443":2,"i444":2,"i445":2,"i446":2,"i447":1,"i448":2,"i449":2,"i450":32,"i451":2,"i452":1,"i453":1,"i454":1,"i455":1,"i456":2,"i457":8,"i458":32,"i459":1,"i460":1,"i461":1,"i462":2,"i463":1,"i464":1,"i465":1,"i466":2,"i467":2,"i468":2,"i469":2,"i470":8,"i471":32,"i472":1,"i473":2,"i474":1,"i475":1,"i476":32,"i477":2,"i478":2,"i479":2,"i480":1,"i481":2,"i482":1,"i483":1,"i484":1,"i485":2,"i486":2,"i487":2,"i488":2,"i489":2,"i490":2,"i491":2,"i492":2,"i493":2,"i494":2,"i495":2,"i496":2,"i497":2,"i498":2,"i499":2,"i500":2,"i501":2,"i502":2,"i503":2,"i504":2,"i505":2,"i506":2,"i507":2,"i508":8,"i509":2,"i510":2,"i511":2,"i512":2,"i513":2,"i514":1,"i515":2,"i516":2,"i517":2,"i518":2,"i519":2,"i520":2,"i521":2,"i522":2,"i523":2,"i524":2,"i525":2,"i526":1,"i527":2,"i528":2,"i529":2,"i530":2,"i531":8,"i532":2,"i533":2,"i534":2,"i535":8,"i536":2,"i537":32,"i538":1,"i539":2,"i540":2,"i541":2,"i542":2,"i543":2,"i544":8,"i545":2,"i546":2,"i547":32,"i548":32,"i549":2,"i550":2,"i551":2,"i552":2,"i553":2,"i554":2,"i555":2,"i556":2,"i557":2,"i558":2,"i559":2,"i560":2,"i561":2,"i562":2,"i563":2,"i564":2,"i565":2,"i566":2,"i567":2,"i568":32,"i569":8,"i570":2,"i571":2,"i572":2,"i573":2,"i574":8,"i575":2,"i576":2,"i577":1,"i578":1,"i579":2,"i580":2,"i581":8,"i582":2,"i583":2,"i584":2,"i585":2,"i586":1,"i587":1,"i588":2,"i589":2,"i590":1,"i591":2,"i592":1,"i593":2,"i594":2,"i595":1,"i596":2,"i597":2,"i598":2,"i599":32,"i600":2,"i601":2,"i602":2,"i603":2,"i604":2,"i605":2,"i606":32,"i607":2,"i608":2,"i609":2,"i610":2,"i611":2,"i612":8,"i613":1,"i614":1,"i615":1,"i616":1,"i617":8,"i618":8,"i619":1,"i620":2,"i621":2,"i622":2,"i623":2,"i624":1,"i625":1,"i626":2,"i627":8,"i628":1,"i629":8,"i630":32,"i631":8,"i632":8,"i633":2,"i634":2,"i635":2,"i636":2,"i637":2,"i638":2,"i639":2,"i640":2,"i641":1,"i642":2,"i643":2,"i644":2,"i645":8,"i646":2,"i647":2,"i648":2,"i649":2,"i650":2,"i651":2,"i652":2,"i653":2,"i654":2,"i655":2,"i656":2,"i657":2,"i658":2,"i659":8,"i660":1,"i661":2,"i662":2,"i663":2,"i664":2,"i665":2,"i666":2,"i667":2,"i668":2,"i669":2,"i670":1,"i671":1,"i672":1,"i673":1,"i674":2,"i675":1,"i676":1,"i677":2,"i678":1,"i679":8,"i680":1,"i681":2,"i682":1,"i683":2,"i684":2,"i685":32,"i686":2,"i687":2,"i688":2,"i689":2,"i690":32,"i691":2,"i692":2,"i693":2,"i694":2,"i695":32,"i696":2,"i697":1,"i698":2,"i699":2,"i700":1,"i701":2,"i702":32,"i703":2,"i704":2,"i705":2,"i706":1,"i707":1,"i708":1,"i709":2,"i710":1,"i711":1,"i712":2,"i713":8,"i714":2,"i715":2,"i716":8,"i717":1,"i718":2,"i719":8,"i720":8,"i721":2,"i722":2,"i723":1,"i724":8,"i725":2,"i726":2,"i727":2,"i728":2,"i729":2,"i730":2,"i731":2,"i732":2,"i733":2,"i734":2,"i735":2,"i736":2,"i737":2,"i738":2,"i739":2,"i740":2,"i741":2,"i742":2,"i743":2,"i744":1,"i745":1,"i746":2,"i747":2,"i748":2,"i749":32,"i750":32,"i751":2,"i752":2,"i753":2,"i754":2,"i755":2,"i756":1,"i757":1,"i758":2,"i759":1,"i760":2,"i761":2,"i762":1,"i763":1,"i764":1,"i765":2,"i766":1,"i767":1,"i768":32,"i769":1,"i770":1,"i771":1,"i772":1,"i773":1,"i774":1,"i775":2,"i776":1,"i777":1,"i778":2,"i779":1,"i780":2,"i781":2,"i782":8,"i783":32,"i784":2,"i785":1,"i786":1,"i787":1,"i788":2,"i789":1,"i790":2,"i791":2,"i792":2,"i793":2,"i794":2,"i795":2,"i796":32,"i797":2,"i798":32,"i799":2,"i800":2,"i801":2,"i802":2,"i803":2,"i804":2,"i805":2,"i806":2,"i807":2,"i808":1,"i809":32,"i810":2,"i811":2,"i812":2,"i813":32,"i814":2,"i815":2,"i816":2,"i817":2,"i818":2,"i819":2,"i820":2,"i821":8,"i822":2,"i823":2,"i824":2,"i825":2,"i826":2,"i827":2,"i828":8,"i829":2,"i830":1,"i831":2,"i832":2,"i833":2,"i834":2,"i835":2,"i836":2,"i837":2,"i838":2,"i839":2,"i840":2,"i841":8,"i842":32,"i843":2,"i844":2,"i845":1,"i846":1,"i847":2,"i848":2,"i849":2,"i850":2,"i851":2,"i852":1,"i853":1,"i854":32,"i855":2,"i856":2,"i857":32,"i858":32,"i859":2,"i860":1,"i861":32,"i862":32,"i863":32,"i864":2,"i865":32,"i866":32,"i867":32,"i868":2,"i869":1,"i870":1,"i871":2,"i872":1,"i873":2,"i874":2,"i875":1,"i876":1,"i877":2,"i878":2,"i879":1,"i880":1,"i881":1,"i882":32,"i883":32,"i884":2,"i885":32,"i886":2,"i887":2,"i888":2,"i889":32,"i890":2,"i891":2,"i892":2,"i893":2,"i894":8,"i895":2,"i896":2,"i897":2,"i898":2,"i899":2,"i900":1,"i901":1,"i902":2,"i903":2,"i904":2,"i905":2,"i906":2,"i907":2,"i908":2,"i909":2,"i910":2,"i911":2,"i912":8,"i913":1,"i914":32,"i915":32,"i916":1,"i917":1,"i918":32,"i919":32,"i920":32,"i921":32,"i922":32,"i923":32,"i924":2,"i925":1,"i926":2,"i927":2,"i928":32,"i929":2,"i930":2,"i931":2,"i932":2,"i933":32,"i934":2,"i935":1,"i936":2,"i937":2,"i938":1,"i939":2,"i940":2,"i941":2,"i942":2,"i943":2,"i944":2,"i945":2,"i946":2,"i947":1,"i948":1,"i949":2,"i950":2,"i951":2,"i952":2,"i953":8,"i954":2,"i955":2,"i956":2,"i957":1,"i958":8,"i959":1,"i960":32,"i961":32,"i962":2,"i963":2,"i964":1,"i965":1,"i966":2,"i967":1,"i968":2,"i969":2,"i970":2,"i971":2,"i972":2,"i973":2,"i974":2,"i975":2,"i976":2,"i977":2,"i978":2,"i979":2,"i980":2,"i981":1,"i982":1,"i983":2,"i984":1,"i985":2,"i986":2,"i987":1,"i988":2,"i989":1,"i990":1,"i991":2,"i992":1,"i993":2,"i994":1,"i995":1,"i996":1,"i997":1,"i998":2,"i999":2,"i1000":1,"i1001":2,"i1002":2,"i1003":2,"i1004":2,"i1005":2,"i1006":2,"i1007":2,"i1008":2,"i1009":2,"i1010":2,"i1011":2,"i1012":2,"i1013":1,"i1014":2,"i1015":2,"i1016":2,"i1017":2,"i1018":2,"i1019":2,"i1020":2,"i1021":2,"i1022":2,"i1023":2,"i1024":1,"i1025":2,"i1026":2,"i1027":1,"i1028":1,"i1029":1,"i1030":1,"i1031":1,"i1032":1,"i1033":1,"i1034":1,"i1035":1,"i1036":2,"i1037":2,"i1038":1,"i1039":2,"i1040":2,"i1041":2,"i1042":2,"i1043":2,"i1044":2,"i1045":2,"i1046":2,"i1047":2,"i1048":1,"i1049":1,"i1050":2,"i1051":2,"i1052":2,"i1053":2,"i1054":2,"i1055":8,"i1056":2,"i1057":2,"i1058":2,"i1059":2,"i1060":2,"i1061":2,"i1062":2,"i1063":2,"i1064":2,"i1065":2,"i1066":2,"i1067":1,"i1068":1,"i1069":1,"i1070":2,"i1071":1,"i1072":1,"i1073":32,"i1074":2,"i1075":1,"i1076":1,"i1077":8,"i1078":1,"i1079":2,"i1080":2,"i1081":2,"i1082":2,"i1083":32,"i1084":2,"i1085":2,"i1086":2,"i1087":2,"i1088":1,"i1089":2,"i1090":2,"i1091":2,"i1092":2,"i1093":2,"i1094":2,"i1095":2,"i1096":32,"i1097":2,"i1098":32,"i1099":32,"i1100":2,"i1101":1,"i1102":2,"i1103":2,"i1104":1,"i1105":1,"i1106":2,"i1107":2,"i1108":2,"i1109":2,"i1110":2,"i1111":2,"i1112":2,"i1113":1,"i1114":2,"i1115":1,"i1116":2,"i1117":2,"i1118":2,"i1119":2,"i1120":1,"i1121":2,"i1122":2,"i1123":32,"i1124":2,"i1125":2,"i1126":2,"i1127":1,"i1128":1,"i1129":2,"i1130":32,"i1131":2,"i1132":2,"i1133":1,"i1134":32,"i1135":2,"i1136":2,"i1137":1,"i1138":2,"i1139":2,"i1140":2,"i1141":2,"i1142":1,"i1143":2,"i1144":1,"i1145":2,"i1146":1,"i1147":2,"i1148":1,"i1149":8,"i1150":32,"i1151":2,"i1152":2,"i1153":2,"i1154":2,"i1155":2,"i1156":2,"i1157":1,"i1158":1,"i1159":32,"i1160":2,"i1161":2,"i1162":32,"i1163":1,"i1164":2,"i1165":2,"i1166":1,"i1167":32,"i1168":2,"i1169":2,"i1170":2,"i1171":2,"i1172":2,"i1173":8,"i1174":32,"i1175":8,"i1176":8,"i1177":32,"i1178":2,"i1179":2,"i1180":2,"i1181":2,"i1182":2,"i1183":2,"i1184":2,"i1185":2,"i1186":1,"i1187":2,"i1188":32,"i1189":2,"i1190":1,"i1191":2,"i1192":1,"i1193":2,"i1194":2,"i1195":2,"i1196":2,"i1197":2,"i1198":2,"i1199":2,"i1200":2,"i1201":2,"i1202":2,"i1203":8,"i1204":2,"i1205":2,"i1206":2,"i1207":2,"i1208":2,"i1209":2,"i1210":2,"i1211":32,"i1212":32,"i1213":2,"i1214":2,"i1215":2,"i1216":2,"i1217":2,"i1218":2,"i1219":2,"i1220":2,"i1221":1,"i1222":2};
var tabs = {65535:["t0","All Classes"],1:["t1","Interface Summary"],2:["t2","Class Summary"],8:["t4","Exception Summary"],32:["t6","Annotation Types Summary"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -692,266 +692,278 @@
All Classes
+AudioAttributes.AudioAttributesV21
+
+
+
+
+
AudioAttributes.Builder
-
+
AudioCapabilities
Represents the set of audio formats that a device is capable of playing.
-
+
AudioCapabilitiesReceiver
-
+
AudioCapabilitiesReceiver.Listener
Listener notified when audio capabilities change.
-
+
AudioProcessor
Interface for audio processors, which take audio data as input and transform it, potentially
modifying its channel count, encoding and/or sample rate.
-
+
AudioProcessor.AudioFormat
PCM audio format that may be handled by an audio processor.
-
+
AudioProcessor.UnhandledAudioFormatException
Exception thrown when a processor can't be configured for a given input audio format.
-
+
AudioRendererEventListener
-
+
AudioRendererEventListener.EventDispatcher
-
+
AudioSink
A sink that consumes audio data.
-
+
AudioSink.ConfigurationException
Thrown when a failure occurs configuring the sink.
-
+
AudioSink.InitializationException
Thrown when a failure occurs initializing the sink.
-
+
AudioSink.Listener
Listener for audio sink events.
-
+
AudioSink.SinkFormatSupport
The level of support the sink provides for a format.
-
+
AudioSink.UnexpectedDiscontinuityException
Thrown when the sink encounters an unexpected timestamp discontinuity.
-
+
AudioSink.WriteException
Thrown when a failure occurs writing to the sink.
-
+
AuxEffectInfo
Represents auxiliary effect information, which can be used to attach an auxiliary effect to an
underlying
AudioTrack
.
-
+
AvcConfig
AVC configuration data.
-
+
+AviExtractor
+
+Extracts data from the AVI container format.
+
+
+
BandwidthMeter
Provides estimates of the currently available bandwidth.
-
+
BandwidthMeter.EventListener
-
+
BandwidthMeter.EventListener.EventDispatcher
Event dispatcher which allows listener registration.
-
+
BaseAudioProcessor
Base class for audio processors that keep an output buffer and an internal buffer that is reused
whenever input is queued.
-
+
BaseDataSource
-
+
BaseMediaChunk
-
+
BaseMediaChunkIterator
-
+
BaseMediaChunkOutput
-
+
BaseMediaSource
-
+
BasePlayer
Abstract base
Player
which implements common implementation independent methods.
-
+
BaseRenderer
An abstract base class suitable for most
Renderer
implementations.
-
+
BaseTrackSelection
-
+
BaseUrl
A base URL, as defined by ISO 23009-1, 2nd edition, 5.6.
-
+
BaseUrlExclusionList
Holds the state of
excluded
base URLs to be used to
select
a base URL based on these exclusions.
-
+
BehindLiveWindowException
Thrown when a live playback falls behind the available media window.
-
+
BinaryFrame
Binary ID3 frame.
-
+
BinarySearchSeeker
A seeker that supports seeking within a stream by searching for the target frame using binary
search.
-
+
BinarySearchSeeker.BinarySearchSeekMap
-
+
BinarySearchSeeker.DefaultSeekTimestampConverter
-
+
BinarySearchSeeker.SeekOperationParams
-
+
BinarySearchSeeker.SeekTimestampConverter
A converter that converts seek time in stream time into target timestamp for the
BinarySearchSeeker
.
-
+
BinarySearchSeeker.TimestampSearchResult
-
+
BinarySearchSeeker.TimestampSeeker
A seeker that looks for a given timestamp from an input.
-
+
Buffer
Base class for buffers with flags.
-
+
Bundleable
-
+
Bundleable.Creator <T extends Bundleable >
Interface for the static
CREATOR
field of
Bundleable
classes.
-
+
BundleableUtil
-
+
BundledChunkExtractor
-
+
BundledExtractorsAdapter
-
+
BundledHlsMediaChunkExtractor
-
+
BundleListRetriever
A
Binder
to transfer a list of
Bundles
across processes by splitting the
list into multiple transactions.
-
+
BundleUtil
-
+
ByteArrayDataSink
-
+
ByteArrayDataSource
-
+
C
Defines constants used by the library.
-
+
C.AudioAllowedCapturePolicy
Capture policies for audio attributes.
-
+
C.AudioContentType
Content types for audio attributes.
-
+
C.AudioFlags
Flags for audio attributes.
-
+
C.AudioUsage
Usage types for audio attributes.
-
+
C.BufferFlags
Flags which can apply to a buffer containing a media sample.
-
+
C.ColorRange
Video color range.
-
+
C.ColorSpace
Video colorspaces.
-
+
C.ColorTransfer
Video color transfer characteristics.
-
+
C.ContentType
Represents a streaming or other media type.
-
+
C.CryptoMode
Crypto modes for a codec.
-
+
C.CryptoType
Types of crypto implementation.
-
+
C.DataType
Represents a type of data.
-
+
C.Encoding
Represents an audio encoding, or an invalid or unset value.
-
+
C.FormatSupport
Level of renderer support for a format.
-
+
C.NetworkType
Network connection type.
-
+
C.PcmEncoding
Represents a PCM audio encoding, or an invalid or unset value.
-
+
C.Projection
Video projection types.
-
+
C.RoleFlags
Track role flags.
-
+
C.SelectionFlags
Track selection flags.
-
+
C.SelectionReason
Represents a reason for selection.
-
+
C.SpatializationBehavior
Represents the behavior affecting whether spatialization will be used.
-
+
C.StereoMode
The stereo mode for 360/3D/VR videos.
-
+
C.StreamType
-
+
C.TrackType
Represents a type of media track.
-
+
C.VideoChangeFrameRateStrategy
-
+
C.VideoOutputMode
Video decoder output modes.
-
+
C.VideoScalingMode
Video scaling modes for
MediaCodec
-based renderers.
-
+
C.WakeMode
Mode specifying whether the player should hold a WakeLock and a WifiLock.
-
+
Cache
A cache that supports partial caching of resources.
-
+
Cache.CacheException
Thrown when an error is encountered when writing data.
-
+
Cache.Listener
Listener of
Cache
events.
-
+
CacheAsserts
Assertion methods for
Cache
.
-
+
CacheAsserts.RequestSet
Defines a set of data requests.
-
+
CacheDataSink
Writes data into a cache.
-
+
CacheDataSink.CacheDataSinkException
Thrown when an
IOException
is encountered when writing data to the sink.
-
+
CacheDataSink.Factory
-
+
CacheDataSource
-
+
CacheDataSource.CacheIgnoredReason
Reasons the cache may be ignored.
-
+
CacheDataSource.EventListener
-
+
CacheDataSource.Factory
-
+
CacheDataSource.Flags
Flags controlling the CacheDataSource's behavior.
-
+
CachedRegionTracker
Utility class for efficiently tracking regions of data that are stored in a
Cache
for a
given cache key.
-
+
CacheEvictor
Evicts data from a
Cache
.
-
+
CacheKeyFactory
Factory for cache keys.
-
+
CacheSpan
Defines a span of data that may or may not be cached (as indicated by
CacheSpan.isCached
).
-
+
CacheWriter
Caching related utility methods.
-
+
CacheWriter.ProgressListener
Receives progress updates during cache operations.
-
+
CameraMotionListener
Listens camera motion.
-
+
CameraMotionRenderer
A
Renderer
that parses the camera motion track.
-
+
CaptionStyleCompat
-
+
CaptionStyleCompat.EdgeType
The type of edge, which may be none.
-
+
CapturingAudioSink
-
+
CapturingRenderersFactory
-
+
CastPlayer
Player
implementation that communicates with a Cast receiver app.
-
+
Cea608Decoder
A
SubtitleDecoder
for CEA-608 (also known as "line 21 captions" and "EIA-608").
-
+
Cea708Decoder
-
+
CeaUtil
Utility methods for handling CEA-608/708 messages.
-
+
ChapterFrame
Chapter information ID3 frame.
-
+
ChapterTocFrame
Chapter table of contents ID3 frame.
-
+
Chunk
An abstract base class for
Loader.Loadable
implementations that load chunks of data required for
the playback of streams.
-
+
ChunkExtractor
Extracts samples and track
Formats
from chunks.
-
+
ChunkExtractor.Factory
-
+
ChunkExtractor.TrackOutputProvider
Provides
TrackOutput
instances to be written to during extraction.
-
+
ChunkHolder
Holds a chunk or an indication that the end of the stream has been reached.
-
+
ChunkIndex
Defines chunks of samples within a media stream.
-
+
ChunkSampleStream <T extends ChunkSource >
-
+
ChunkSampleStream.ReleaseCallback <T extends ChunkSource >
A callback to be notified when a sample stream has finished being released.
-
+
ChunkSource
-
+
ClippingMediaPeriod
-
+
ClippingMediaSource
MediaSource
that wraps a source and clips its timeline based on specified start/end
positions.
-
+
ClippingMediaSource.IllegalClippingException
-
+
ClippingMediaSource.IllegalClippingException.Reason
The reason clipping failed.
-
+
Clock
An interface through which system clocks can be read and
HandlerWrapper
s created.
-
-Codec
+
+Codec
-
+Provides a layer of abstraction for interacting with decoders and encoders.
-
+
Codec.DecoderFactory
-
+
-
+
Codec.EncoderFactory
-
+
-
+
CodecSpecificDataUtil
Provides utilities for handling various types of codec-specific data.
-
+
ColorInfo
Stores color info.
-
+
ColorParser
Parser for color expressions found in styling formats, e.g.
-
+
CommentFrame
Comment ID3 frame.
-
+
CompositeMediaSource <T >
Composite
MediaSource
consisting of multiple child sources.
-
+
CompositeSequenceableLoader
-
+
CompositeSequenceableLoaderFactory
-
+
ConcatenatingMediaSource
-
+
ConditionVariable
An interruptible condition variable.
-
+
ConstantBitrateSeekMap
A
SeekMap
implementation that assumes the stream has a constant bitrate and consists of
multiple independent frames of the same size.
-
+
Consumer <T >
Represents an operation that accepts a single input argument and returns no result.
-
+
ContainerMediaChunk
-
+
ContentDataSource
-
+
ContentDataSource.ContentDataSourceException
Thrown when an
IOException
is encountered reading from a content URI.
-
+
ContentMetadata
Interface for an immutable snapshot of keyed metadata.
-
+
ContentMetadataMutations
Defines multiple mutations on metadata value which are applied atomically.
-
+
CopyOnWriteMultiset <E >
An unordered collection of elements that allows duplicates, but also allows access to a set of
unique elements.
-
+
CronetDataSource
DataSource without intermediate buffer based on Cronet API set using UrlRequest.
-
+
CronetDataSource.Factory
-
+
CronetDataSource.OpenException
-
+
CronetDataSourceFactory
Deprecated.
-
+
CronetEngineWrapper
Deprecated.
-
+
CronetUtil
Cronet utility methods.
-
+
CryptoConfig
Configuration for a decoder to allow it to decode encrypted media data.
-
+
CryptoException
Thrown when a non-platform component fails to decrypt data.
-
+
CryptoInfo
Metadata describing the structure of an encrypted input sample.
-
+
Cue
Contains information about a specific cue, including textual content and formatting data.
-
+
Cue.AnchorType
The type of anchor, which may be unset.
-
+
Cue.Builder
A builder for
Cue
objects.
-
+
Cue.LineType
The type of line, which may be unset.
-
+
Cue.TextSizeType
The type of default text size for this cue, which may be unset.
-
+
Cue.VerticalType
The type of vertical layout for this cue, which may be unset (i.e.
-
+
CueDecoder
-
+
CueEncoder
-
+
+CueGroup
+
+Class to represent the state of active
Cues
at a particular time.
+
+
+
DashChunkSource
-
+
DashChunkSource.Factory
-
+
DashDownloader
A downloader for DASH streams.
-
+
DashManifest
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014
Section 5.3.1.2.
-
+
DashManifestParser
A parser of media presentation description files.
-
+
DashManifestParser.RepresentationInfo
A parsed Representation element.
-
+
DashManifestStaleException
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.
-
+
DashMediaSource
-
+
DashMediaSource.Factory
-
+
DashSegmentIndex
Indexes the segments within a media stream.
-
+
DashUtil
Utility methods for DASH streams.
-
+
DashWrappingSegmentIndex
-
+
DatabaseIOException
-
+
DatabaseProvider
-
+
DataChunk
A base class for
Chunk
implementations where the data should be loaded into a
byte[]
before being consumed.
-
+
DataReader
Reads bytes from a data stream.
-
+
DataSchemeDataSource
A
DataSource
for reading data URLs, as defined by RFC 2397.
-
+
DataSink
A component to which streams of data can be written.
-
+
DataSink.Factory
-
+
DataSource
Reads data from URI-identified resources.
-
+
DataSource.Factory
-
+
DataSourceContractTest
A collection of contract tests for
DataSource
implementations.
-
+
DataSourceContractTest.FakeTransferListener
-
+
DataSourceContractTest.TestResource
Information about a resource that can be used to test the
DataSource
instance.
-
+
DataSourceContractTest.TestResource.Builder
-
+
DataSourceException
Used to specify reason of a DataSource error.
-
+
DataSourceInputStream
-
+
DataSourceUtil
-
+
DataSpec
Defines a region of data in a resource.
-
+
DataSpec.Builder
-
+
DataSpec.Flags
The flags that apply to any request for data.
-
+
DataSpec.HttpMethod
-
+
DebugTextViewHelper
A helper class for periodically updating a
TextView
with debug information obtained from
an
ExoPlayer
.
-
+
Decoder <I ,O ,E extends DecoderException >
A media decoder.
-
+
DecoderAudioRenderer <T extends Decoder <DecoderInputBuffer ,? extends SimpleDecoderOutputBuffer ,? extends DecoderException >>
Decodes and renders audio using a
Decoder
.
-
+
DecoderCounters
Maintains decoder event counts, for debugging purposes only.
-
+
DecoderCountersUtil
-
+
DecoderException
Thrown when a
Decoder
error occurs.
-
+
DecoderInputBuffer
Holds input for a decoder.
-
+
DecoderInputBuffer.BufferReplacementMode
The buffer replacement mode.
-
+
DecoderInputBuffer.InsufficientCapacityException
-
+
DecoderOutputBuffer
Output buffer decoded by a
Decoder
.
-
+
DecoderOutputBuffer.Owner <S extends DecoderOutputBuffer >
Buffer owner.
-
+
DecoderReuseEvaluation
The result of an evaluation to determine whether a decoder can be reused for a new input format.
-
+
DecoderReuseEvaluation.DecoderDiscardReasons
Possible reasons why reuse is not possible.
-
+
DecoderReuseEvaluation.DecoderReuseResult
Possible outcomes of the evaluation.
-
+
DecoderVideoRenderer
Decodes and renders video using a
Decoder
.
-
+
DefaultAllocator
-
+
DefaultAnalyticsCollector
-
+
DefaultAudioSink
Plays audio data.
-
+
DefaultAudioSink.AudioProcessorChain
Provides a chain of audio processors, which are used for any user-defined processing and
applying playback parameters (if supported).
-
+
DefaultAudioSink.Builder
-
+
DefaultAudioSink.DefaultAudioProcessorChain
-
+
DefaultAudioSink.InvalidAudioTrackTimestampException
-
+
DefaultAudioSink.OffloadMode
Audio offload mode configuration.
-
+
DefaultAudioSink.OutputMode
Output mode of the audio sink.
-
+
DefaultAudioTrackBufferSizeProvider
Provide the buffer size to use when creating an
AudioTrack
.
-
+
DefaultAudioTrackBufferSizeProvider.Builder
-
+
DefaultBandwidthMeter
Estimates bandwidth by listening to data transfers.
-
+
DefaultBandwidthMeter.Builder
Builder for a bandwidth meter.
-
+
DefaultCastOptionsProvider
A convenience OptionsProvider
to target the default cast receiver app.
-
+
+DefaultCodec
+
+
+
+
+
DefaultCompositeSequenceableLoaderFactory
-
+
DefaultContentMetadata
-
+
DefaultDashChunkSource
-
+
DefaultDashChunkSource.Factory
-
+
DefaultDashChunkSource.RepresentationHolder
-
+
DefaultDashChunkSource.RepresentationSegmentIterator
-
+
DefaultDatabaseProvider
-
+
DefaultDataSource
-
+
DefaultDataSource.Factory
-
+
DefaultDataSourceFactory
Deprecated.
-
+
DefaultDownloaderFactory
Default
DownloaderFactory
, supporting creation of progressive, DASH, HLS and
SmoothStreaming downloaders.
-
+
DefaultDownloadIndex
-
+
DefaultDrmSessionManager
-
+
DefaultDrmSessionManager.Builder
-
+
DefaultDrmSessionManager.MissingSchemeDataException
-
+
DefaultDrmSessionManager.Mode
Determines the action to be done after a session acquired.
-
+
DefaultDrmSessionManagerProvider
-
+
+DefaultEncoderFactory
+
+
+
+
+
DefaultExtractorInput
-
+
DefaultExtractorsFactory
An
ExtractorsFactory
that provides an array of extractors for the following formats:
@@ -2195,1736 +2225,1754 @@
All Classes
com.google.android.exoplayer2.ext.flac.FlacExtractor is used.
-
+
DefaultHlsDataSourceFactory
-
+
DefaultHlsExtractorFactory
-
+
DefaultHlsPlaylistParserFactory
-
+
DefaultHlsPlaylistTracker
-
+
DefaultHttpDataSource
-
+
DefaultHttpDataSource.Factory
-
+
DefaultLivePlaybackSpeedControl
-
+
DefaultLivePlaybackSpeedControl.Builder
-
+
DefaultLoadControl
-
+
DefaultLoadControl.Builder
-
+
DefaultLoadErrorHandlingPolicy
-
+
DefaultMediaCodecAdapterFactory
-
+
DefaultMediaDescriptionAdapter
-
+
DefaultMediaItemConverter
-
+
DefaultMediaItemConverter
-
+
DefaultMediaSourceFactory
-
+
DefaultMediaSourceFactory.AdsLoaderProvider
Deprecated.
-
+
DefaultPlaybackSessionManager
Default
PlaybackSessionManager
which instantiates a new session for each window in the
timeline and also for each ad within the windows.
-
+
DefaultRenderersFactory
-
+
DefaultRenderersFactory.ExtensionRendererMode
Modes for using extension renderers.
-
+
DefaultRenderersFactoryAsserts
-
+
DefaultRtpPayloadReaderFactory
-
+
DefaultSsChunkSource
-
+
DefaultSsChunkSource.Factory
-
+
DefaultTimeBar
A time bar that shows a current position, buffered position, duration and ad markers.
-
+
DefaultTrackNameProvider
-
+
DefaultTrackSelector
-
+
DefaultTrackSelector.Parameters
-
-DefaultTrackSelector.ParametersBuilder
+
+DefaultTrackSelector.Parameters.Builder
-
+
+DefaultTrackSelector.ParametersBuilder
+Deprecated.
+
+
+
+
DefaultTrackSelector.SelectionEligibility
The extent to which tracks are eligible for selection.
-
+
DefaultTrackSelector.SelectionOverride
A track selection override.
-
+
DefaultTsPayloadReaderFactory
-
+
DefaultTsPayloadReaderFactory.Flags
Flags controlling elementary stream readers' behavior.
-
+
Descriptor
A descriptor, as defined by ISO 23009-1, 2nd edition, 5.8.2.
-
+
DeviceInfo
Information about the playback device.
-
+
DeviceInfo.PlaybackType
Types of playback.
-
+
DolbyVisionConfig
Dolby Vision configuration data.
-
+
Download
Represents state of a download.
-
+
Download.FailureReason
Failure reasons.
-
+
Download.State
Download states.
-
+
DownloadBuilder
-
+
DownloadCursor
Provides random read-write access to the result set returned by a database query.
-
+
Downloader
Downloads and removes a piece of content.
-
+
Downloader.ProgressListener
Receives progress updates during download operations.
-
+
DownloaderFactory
-
+
DownloadException
Thrown on an error during downloading.
-
+
DownloadHelper
A helper for initializing and removing downloads.
-
+
DownloadHelper.Callback
-
+
DownloadHelper.LiveContentUnsupportedException
Thrown at an attempt to download live content.
-
+
DownloadIndex
-
+
DownloadManager
Manages downloads.
-
+
DownloadManager.Listener
-
+
DownloadNotificationHelper
Helper for creating download notifications.
-
+
DownloadProgress
-
+
DownloadRequest
Defines content to be downloaded.
-
+
DownloadRequest.Builder
A builder for download requests.
-
+
DownloadRequest.UnsupportedRequestException
Thrown when the encoded request data belongs to an unsupported request type.
-
+
DownloadService
-
+
DrmInitData
Initialization data for one or more DRM schemes.
-
+
DrmInitData.SchemeData
Scheme initialization data.
-
+
DrmSession
A DRM session.
-
+
DrmSession.DrmSessionException
Wraps the throwable which is the cause of the error state.
-
+
DrmSession.State
The state of the DRM session.
-
+
DrmSessionEventListener
-
+
DrmSessionEventListener.EventDispatcher
-
+
DrmSessionManager
Manages a DRM session.
-
+
DrmSessionManager.DrmSessionReference
Represents a single reference count of a
DrmSession
, while deliberately not giving
access to the underlying session.
-
+
DrmSessionManagerProvider
-
+
DrmUtil
DRM-related utility methods.
-
+
DrmUtil.ErrorSource
Identifies the operation which caused a DRM-related error.
-
+
DtsReader
Parses a continuous DTS byte stream and extracts individual samples.
-
+
DtsUtil
Utility methods for parsing DTS frames.
-
-DummyDataSource
-
-A DataSource which provides no data.
-
-
-
+
DummyExoMediaDrm
An
ExoMediaDrm
that does not support any protection schemes.
-
+
DummyExtractorOutput
-
+
DummyMainThread
Helper class to simulate main/UI thread in tests.
-
+
DummyMainThread.TestRunnable
Runnable
variant which can throw a checked exception.
-
-DummySurface
-
-
-
-
-
+
DummyTrackOutput
-
+
DumpableFormat
Wraps a
Format
to allow dumping it.
-
+
Dumper
Helper utility to dump field values.
-
+
Dumper.Dumpable
Provides custom dump method.
-
+
DumpFileAsserts
Helper class to enable assertions based on golden-data dump files.
-
+
DvbDecoder
-
+
DvbSubtitleReader
Parses DVB subtitle data and extracts individual frames.
-
+
EbmlProcessor
Defines EBML element IDs/types and processes events.
-
+
EbmlProcessor.ElementType
EBML element types.
-
+
EGLSurfaceTexture
-
+
EGLSurfaceTexture.GlException
A runtime exception to be thrown if some EGL operations failed.
-
+
EGLSurfaceTexture.SecureMode
Secure mode to be used by the EGL surface and context.
-
+
EGLSurfaceTexture.TextureImageListener
Listener to be called when the texture image on
SurfaceTexture
has been updated.
-
+
ElementaryStreamReader
Extracts individual samples from an elementary media stream, preserving original order.
-
+
EmptySampleStream
-
+
+EncoderSelector
+
+
+
+
+
EncoderUtil
-
+
ErrorMessageProvider <T extends Throwable >
Converts throwables into error codes and user readable error messages.
-
+
ErrorStateDrmSession
-
+
EventLogger
Logs events from
Player
and other core components using
Log
.
-
+
EventMessage
An Event Message (emsg) as defined in ISO 23009-1.
-
+
EventMessageDecoder
-
+
EventMessageEncoder
-
+
EventStream
A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
-
+
ExoDatabaseProvider
Deprecated.
-
+
ExoHostedTest
-
+
ExoMediaDrm
Used to obtain keys for decrypting protected media streams.
-
+
ExoMediaDrm.AppManagedProvider
-
+
ExoMediaDrm.KeyRequest
Contains data used to request keys from a license server.
-
+
ExoMediaDrm.KeyRequest.RequestType
Key request types.
-
+
ExoMediaDrm.KeyStatus
Defines the status of a key.
-
+
ExoMediaDrm.OnEventListener
Called when a DRM event occurs.
-
+
ExoMediaDrm.OnExpirationUpdateListener
Called when a session expiration update occurs.
-
+
ExoMediaDrm.OnKeyStatusChangeListener
Called when the keys in a DRM session change state.
-
+
ExoMediaDrm.Provider
-
+
ExoMediaDrm.ProvisionRequest
Contains data to request a certificate from a provisioning server.
-
+
ExoPlaybackException
Thrown when a non locally recoverable playback failure occurs.
-
+
ExoPlaybackException.Type
The type of source that produced the error.
-
+
ExoPlayer
-
+
ExoPlayer.AudioComponent
Deprecated.
-
+
ExoPlayer.AudioOffloadListener
A listener for audio offload events.
-
+
ExoPlayer.Builder
-
+
ExoPlayer.DeviceComponent
Deprecated.
-
+
ExoPlayer.TextComponent
Deprecated.
-
+
ExoPlayer.VideoComponent
Deprecated.
-
+
ExoplayerCuesDecoder
-
+
ExoPlayerLibraryInfo
Information about the media libraries.
-
+
ExoPlayerTestRunner
Helper class to run an ExoPlayer test.
-
+
ExoPlayerTestRunner.Builder
-
+
ExoTimeoutException
A timeout of an operation on the ExoPlayer playback thread.
-
+
ExoTimeoutException.TimeoutOperation
The operation which produced the timeout error.
-
+
ExoTrackSelection
-
+
ExoTrackSelection.Definition
Contains of a subset of selected tracks belonging to a
TrackGroup
.
-
+
ExoTrackSelection.Factory
-
+
Extractor
Extracts media data from a container format.
-
+
Extractor.ReadResult
-
+
ExtractorAsserts
-
+
ExtractorAsserts.AssertionConfig
A config for the assertions made (e.g.
-
+
ExtractorAsserts.AssertionConfig.Builder
-
+
ExtractorAsserts.ExtractorFactory
-
+
ExtractorAsserts.SimulationConfig
A config of different environments to simulate and extractor behaviours to test.
-
+
ExtractorInput
Provides data to be consumed by an
Extractor
.
-
+
ExtractorOutput
Receives stream level data extracted by an
Extractor
.
-
+
ExtractorsFactory
-
+
ExtractorUtil
Extractor related utility methods.
-
+
FailOnCloseDataSink
-
+
FailOnCloseDataSink.Factory
-
+
FakeAdaptiveDataSet
Fake data set emulating the data of an adaptive media source.
-
+
FakeAdaptiveDataSet.Factory
-
+
FakeAdaptiveDataSet.Iterator
-
+
FakeAdaptiveMediaPeriod
-
+
FakeAdaptiveMediaSource
-
+
FakeAudioRenderer
-
+
FakeChunkSource
Fake
ChunkSource
with adaptive media chunks of a given duration.
-
+
FakeChunkSource.Factory
-
+
FakeClock
-
+
FakeCryptoConfig
-
+
FakeDataSet
-
+
FakeDataSet.FakeData
-
+
FakeDataSet.FakeData.Segment
-
+
FakeDataSource
A fake
DataSource
capable of simulating various scenarios.
-
+
FakeDataSource.Factory
-
+
FakeExoMediaDrm
-
+
FakeExoMediaDrm.Builder
-
+
FakeExoMediaDrm.LicenseServer
-
+
FakeExtractorInput
-
+
FakeExtractorInput.Builder
-
+
FakeExtractorInput.SimulatedIOException
-
+
FakeExtractorOutput
-
+
FakeMediaChunk
-
+
FakeMediaChunkIterator
-
+
FakeMediaClockRenderer
-
+
FakeMediaPeriod
-
+
FakeMediaPeriod.TrackDataFactory
A factory to create the test data for a particular track.
-
+
FakeMediaSource
-
+
FakeMediaSource.InitialTimeline
A forwarding timeline to provide an initial timeline for fake multi window sources.
-
+
FakeMediaSourceFactory
-
+
FakeMetadataEntry
-
+
FakeRenderer
Fake
Renderer
that supports any format with the matching track type.
-
+
FakeSampleStream
-
+
FakeSampleStream.FakeSampleStreamItem
-
+
FakeShuffleOrder
-
+
FakeTimeline
-
+
FakeTimeline.TimelineWindowDefinition
-
+
FakeTrackOutput
-
+
FakeTrackOutput.Factory
-
+
FakeTrackSelection
A fake
ExoTrackSelection
that only returns 1 fixed track, and allows querying the number
of calls to its methods.
-
+
FakeTrackSelector
-
+
FakeVideoRenderer
-
+
FfmpegAudioRenderer
Decodes and renders audio using FFmpeg.
-
+
FfmpegDecoderException
Thrown when an FFmpeg decoder error occurs.
-
+
FfmpegLibrary
Configures and queries the underlying native library.
-
+
FileDataSource
-
+
FileDataSource.Factory
-
+
FileDataSource.FileDataSourceException
-
+
FileTypes
Defines common file type constants and helper methods.
-
+
FileTypes.Type
File types.
-
+
FilterableManifest <T >
A manifest that can generate copies of itself including only the streams specified by the given
keys.
-
+
FilteringHlsPlaylistParserFactory
-
+
FilteringManifestParser <T extends FilterableManifest <T >>
A manifest parser that includes only the streams identified by the given stream keys.
-
+
FixedTrackSelection
-
+
FlacConstants
Defines constants used by the FLAC extractor.
-
+
FlacDecoder
Flac decoder.
-
+
FlacDecoderException
Thrown when an Flac decoder error occurs.
-
+
FlacExtractor
Facilitates the extraction of data from the FLAC container format.
-
+
FlacExtractor
Extracts data from FLAC container format.
-
+
FlacExtractor.Flags
Flags controlling the behavior of the extractor.
-
+
FlacExtractor.Flags
Flags controlling the behavior of the extractor.
-
+
FlacFrameReader
-
+
FlacFrameReader.SampleNumberHolder
Holds a sample number.
-
+
FlacLibrary
Configures and queries the underlying native library.
-
+
FlacMetadataReader
-
+
FlacMetadataReader.FlacStreamMetadataHolder
-
+
FlacSeekTableSeekMap
-
+
FlacStreamMetadata
Holder for FLAC metadata.
-
+
FlacStreamMetadata.SeekTable
A FLAC seek table.
-
+
FlagSet
A set of integer flags.
-
+
FlagSet.Builder
-
+
FlvExtractor
Extracts data from the FLV container format.
-
+
Format
Represents a media format.
-
+
Format.Builder
-
+
FormatHolder
-
+
ForwardingAudioSink
An overridable
AudioSink
implementation forwarding all methods to another sink.
-
+
ForwardingExtractorInput
An overridable
ExtractorInput
implementation forwarding all methods to another input.
-
+
ForwardingPlayer
-
+
ForwardingTimeline
An overridable
Timeline
implementation forwarding all methods to another timeline.
-
+
FragmentedMp4Extractor
Extracts data from the FMP4 container format.
-
+
FragmentedMp4Extractor.Flags
Flags controlling the behavior of the extractor.
-
+
+FrameProcessingException
+
+Thrown when an exception occurs while applying effects to video frames.
+
+
+
FrameworkCryptoConfig
-
+
FrameworkMediaDrm
-
+
GaplessInfoHolder
Holder for gapless playback information.
-
+
Gav1Decoder
Gav1 decoder.
-
+
Gav1DecoderException
Thrown when a libgav1 decoder error occurs.
-
+
Gav1Library
Configures and queries the underlying native library.
-
+
GeobFrame
GEOB (General Encapsulated Object) ID3 frame.
-
-GlUtil
+
+GlEffect
-OpenGL ES utilities.
+
-
-GlUtil.GlException
+
+GlMatrixTransformation
-
+Specifies a 4x4 transformation
Matrix
to apply in the vertex shader for each frame.
-
-GlUtil.Program
+
+GlProgram
Represents a GLSL shader program.
-
+
+GlUtil
+
+OpenGL ES utilities.
+
+
+
+GlUtil.GlException
+
+
+
+
+
H262Reader
Parses a continuous H262 byte stream and extracts individual frames.
-
+
H263Reader
Parses an ISO/IEC 14496-2 (MPEG-4 Part 2) or ITU-T Recommendation H.263 byte stream and extracts
individual frames.
-
+
H264Reader
Parses a continuous H264 byte stream and extracts individual frames.
-
+
H265Reader
Parses a continuous H.265 byte stream and extracts individual frames.
-
+
HandlerWrapper
An interface to call through to a
Handler
.
-
+
HandlerWrapper.Message
A message obtained from the handler.
-
+
HeartRating
A rating expressed as "heart" or "no heart".
-
+
HevcConfig
HEVC configuration data.
-
+
HlsDataSourceFactory
Creates
DataSource
s for HLS playlists, encryption and media chunks.
-
+
HlsDownloader
A downloader for HLS streams.
-
+
HlsExtractorFactory
Factory for HLS media chunk extractors.
-
+
HlsManifest
Holds a multivariant playlist along with a snapshot of one of its media playlists.
-
+
HlsMasterPlaylist
Deprecated.
-
+
HlsMediaChunkExtractor
Extracts samples and track
Formats
from
HlsMediaChunks
.
-
+
HlsMediaPeriod
-
+
HlsMediaPlaylist
Represents an HLS media playlist.
-
+
HlsMediaPlaylist.Part
A media part.
-
+
HlsMediaPlaylist.PlaylistType
Type of the playlist, as defined by #EXT-X-PLAYLIST-TYPE.
-
+
HlsMediaPlaylist.RenditionReport
A rendition report for an alternative rendition defined in another media playlist.
-
+
HlsMediaPlaylist.Segment
Media segment reference.
-
+
HlsMediaPlaylist.SegmentBase
-
+
HlsMediaPlaylist.ServerControl
Server control attributes.
-
+
HlsMediaSource
-
+
HlsMediaSource.Factory
-
+
HlsMediaSource.MetadataType
The types of metadata that can be extracted from HLS streams.
-
+
HlsMultivariantPlaylist
Represents an HLS multivariant playlist.
-
+
HlsMultivariantPlaylist.Rendition
A rendition (i.e.
-
+
HlsMultivariantPlaylist.Variant
A variant (i.e.
-
+
HlsPlaylist
Represents an HLS playlist.
-
+
HlsPlaylistParser
HLS playlists parsing logic.
-
+
HlsPlaylistParser.DeltaUpdateException
Exception thrown when merging a delta update fails.
-
+
HlsPlaylistParserFactory
-
+
HlsPlaylistTracker
Tracks playlists associated to an HLS stream and provides snapshots.
-
+
HlsPlaylistTracker.Factory
-
+
HlsPlaylistTracker.PlaylistEventListener
Called on playlist loading events.
-
+
HlsPlaylistTracker.PlaylistResetException
Thrown when the media sequence of a new snapshot indicates the server has reset.
-
+
HlsPlaylistTracker.PlaylistStuckException
Thrown when a playlist is considered to be stuck due to a server side error.
-
+
HlsPlaylistTracker.PrimaryPlaylistListener
Listener for primary playlist changes.
-
+
HlsTrackMetadataEntry
Holds metadata associated to an HLS media track.
-
+
HlsTrackMetadataEntry.VariantInfo
Holds attributes defined in an EXT-X-STREAM-INF tag.
-
+
HorizontalTextInVerticalContextSpan
A styling span for horizontal text in a vertical context.
-
+
HostActivity
A host activity for performing playback tests.
-
+
HostActivity.HostedTest
-
+
HttpDataSource
-
+
HttpDataSource.BaseFactory
-
+
HttpDataSource.CleartextNotPermittedException
Thrown when cleartext HTTP traffic is not permitted.
-
+
HttpDataSource.Factory
-
+
HttpDataSource.HttpDataSourceException
Thrown when an error is encountered when trying to read from a
HttpDataSource
.
-
+
HttpDataSource.HttpDataSourceException.Type
The type of operation that produced the error.
-
+
HttpDataSource.InvalidContentTypeException
Thrown when the content type is invalid.
-
+
HttpDataSource.InvalidResponseCodeException
Thrown when an attempt to open a connection results in a response code not in the 2xx range.
-
+
HttpDataSource.RequestProperties
Stores HTTP request properties (aka HTTP headers) and provides methods to modify the headers in
@@ -3932,366 +3980,366 @@
All Classes
state.
-
+
HttpDataSourceTestEnv
A JUnit
Rule
that creates test resources for
HttpDataSource
contract tests.
-
+
HttpMediaDrmCallback
-
+
-
+
HttpUtil
Utility methods for HTTP.
-
+
IcyDecoder
Decodes ICY stream information.
-
+
IcyHeaders
ICY headers.
-
+
IcyInfo
ICY in-stream information.
-
+
Id3Decoder
Decodes ID3 tags.
-
+
Id3Decoder.FramePredicate
A predicate for determining whether individual frames should be decoded.
-
+
Id3Frame
Base class for ID3 frames.
-
+
Id3Peeker
Peeks data from the beginning of an
ExtractorInput
to determine if there is any ID3 tag.
-
+
Id3Reader
Parses ID3 data and extracts individual text information frames.
-
+
IllegalSeekPositionException
Thrown when an attempt is made to seek to a position that does not exist in the player's
Timeline
.
-
+
ImaAdsLoader
-
+
ImaAdsLoader.Builder
-
+
ImaServerSideAdInsertionMediaSource
MediaSource for IMA server side inserted ad streams.
-
+
ImaServerSideAdInsertionMediaSource.AdsLoader
An ads loader for IMA server side ad insertion streams.
-
+
ImaServerSideAdInsertionMediaSource.AdsLoader.Builder
-
+
ImaServerSideAdInsertionMediaSource.AdsLoader.State
-
+
ImaServerSideAdInsertionMediaSource.Factory
-
+
ImaServerSideAdInsertionUriBuilder
Builder for URI for IMA DAI streams.
-
+
IndexSeekMap
A
SeekMap
implementation based on a mapping between times and positions in the input
stream.
-
+
InitializationChunk
A
Chunk
that uses an
Extractor
to decode initialization data for single track.
-
+
InputReaderAdapterV30
-
+
InternalFrame
Internal ID3 frame that is intended for use by the player.
-
+
JpegExtractor
Extracts JPEG image using the Exif format.
-
+
KeysExpiredException
Thrown when the drm keys loaded into an open session expire.
-
+
LanguageFeatureSpan
Marker interface for span classes that carry language features rather than style information.
-
+
LatmReader
Parses and extracts samples from an AAC/LATM elementary stream.
-
+
LeanbackPlayerAdapter
Leanback
PlayerAdapter
implementation for
Player
.
-
+
LeastRecentlyUsedCacheEvictor
Evicts least recently used cache files first.
-
+
LibflacAudioRenderer
Decodes and renders audio using the native Flac decoder.
-
+
Libgav1VideoRenderer
Decodes and renders video using libgav1 decoder.
-
+
LibopusAudioRenderer
Decodes and renders audio using the native Opus decoder.
-
+
LibraryLoader
Configurable loader for native libraries.
-
+
LibvpxVideoRenderer
Decodes and renders video using the native VP9 decoder.
-
+
ListenerSet <T extends @NonNull Object >
A set of listeners.
-
+
ListenerSet.Event <T >
An event sent to a listener.
-
+
ListenerSet.IterationFinishedEvent <T >
An event sent to a listener when all other events sent during one
Looper
message queue
iteration were handled by the listener.
-
+
LivePlaybackSpeedControl
Controls the playback speed while playing live content in order to maintain a steady target live
offset.
-
+
LoadControl
Controls buffering of media.
-
+
Loader
-
+
Loader.Callback <T extends Loader.Loadable >
A callback to be notified of
Loader
events.
-
+
Loader.Loadable
An object that can be loaded using a
Loader
.
-
+
Loader.LoadErrorAction
-
+
Loader.ReleaseCallback
A callback to be notified when a
Loader
has finished being released.
-
+
Loader.UnexpectedLoaderException
Thrown when an unexpected exception or error is encountered during loading.
-
+
LoaderErrorThrower
Conditionally throws errors affecting a
Loader
.
-
+
LoaderErrorThrower.Dummy
-
+
LoadErrorHandlingPolicy
A policy that defines how load errors are handled.
-
+
LoadErrorHandlingPolicy.FallbackOptions
Holds information about the available fallback options.
-
+
LoadErrorHandlingPolicy.FallbackSelection
A selected fallback option.
-
+
LoadErrorHandlingPolicy.FallbackType
Fallback type.
-
+
LoadErrorHandlingPolicy.LoadErrorInfo
Holds information about a load task error.
-
+
LoadEventInfo
-
+
LocalMediaDrmCallback
-
+
Log
Wrapper around
Log
which allows to set the log level.
-
+
Log.LogLevel
Log level for ExoPlayer logcat logging.
-
+
LongArray
An append-only, auto-growing long[]
.
-
+
LoopingMediaSource
Deprecated.
-
+
MappingTrackSelector
Base class for
TrackSelector
s that first establish a mapping between
TrackGroup
s
@@ -4299,1751 +4347,1801 @@
All Classes
renderer.
-
+
MappingTrackSelector.MappedTrackInfo
Provides mapped track information for each renderer.
-
+
MappingTrackSelector.MappedTrackInfo.RendererSupport
Levels of renderer support.
-
+
MaskingMediaPeriod
-
+
MaskingMediaPeriod.PrepareListener
Listener for preparation events.
-
+
MaskingMediaSource
A
MediaSource
that masks the
Timeline
with a placeholder until the actual media
structure is known.
-
+
MaskingMediaSource.PlaceholderTimeline
A timeline with one dynamic window with a period of indeterminate duration.
-
+
+MatrixTransformation
+
+Specifies a 3x3 transformation
Matrix
to apply in the vertex shader for each frame.
+
+
+
MatroskaExtractor
Extracts data from the Matroska and WebM container formats.
-
+
MatroskaExtractor.Flags
Flags controlling the behavior of the extractor.
-
+
MatroskaExtractor.Track
Holds data corresponding to a single track.
-
+
MdtaMetadataEntry
Stores extensible metadata with handler type 'mdta'.
-
+
MediaChunk
An abstract base class for
Chunk
s that contain media samples.
-
+
MediaChunkIterator
Iterator for media chunk sequences.
-
+
MediaClock
Tracks the progression of media time.
-
+
MediaCodecAdapter
-
+
MediaCodecAdapter.Configuration
-
+
MediaCodecAdapter.Factory
-
+
MediaCodecAdapter.OnFrameRenderedListener
Listener to be called when an output frame has rendered on the output surface.
-
+
MediaCodecAudioRenderer
-
+
MediaCodecDecoderException
Thrown when a failure occurs in a
MediaCodec
decoder.
-
+
MediaCodecInfo
Information about a
MediaCodec
for a given mime type.
-
+
MediaCodecRenderer
An abstract renderer that uses
MediaCodec
to decode samples for rendering.
-
+
MediaCodecRenderer.DecoderInitializationException
Thrown when a failure occurs instantiating a decoder.
-
+
MediaCodecSelector
-
+
MediaCodecUtil
A utility class for querying the available codecs.
-
+
MediaCodecUtil.DecoderQueryException
Thrown when an error occurs querying the device for its underlying media capabilities.
-
+
MediaCodecVideoDecoderException
Thrown when a failure occurs in a
MediaCodec
video decoder.
-
+
MediaCodecVideoRenderer
-
+
MediaCodecVideoRenderer.CodecMaxValues
-
+
MediaDrmCallback
-
+
MediaDrmCallbackException
Thrown when an error occurs while executing a DRM
key
or
provisioning
request.
-
+
MediaFormatUtil
Helper class containing utility methods for managing
MediaFormat
instances.
-
+
MediaItem
Representation of a media item.
-
+
MediaItem.AdsConfiguration
Configuration for playing back linear ads with a media item.
-
+
MediaItem.AdsConfiguration.Builder
-
+
MediaItem.Builder
-
+
MediaItem.ClippingConfiguration
Optionally clips the media item to a custom start and end position.
-
+
MediaItem.ClippingConfiguration.Builder
-
+
MediaItem.ClippingProperties
Deprecated.
-
+
MediaItem.DrmConfiguration
DRM configuration for a media item.
-
+
MediaItem.DrmConfiguration.Builder
-
+
MediaItem.LiveConfiguration
Live playback configuration.
-
+
MediaItem.LiveConfiguration.Builder
-
+
MediaItem.LocalConfiguration
Properties for local playback.
-
+
MediaItem.PlaybackProperties
Deprecated.
-
+
+MediaItem.RequestMetadata
+
+Metadata that helps the player to understand a playback request represented by a
MediaItem
.
+
+
+
+MediaItem.RequestMetadata.Builder
+
+
+
+
+
MediaItem.Subtitle
Deprecated.
-
+
MediaItem.SubtitleConfiguration
Properties for a text track.
-
+
MediaItem.SubtitleConfiguration.Builder
-
+
MediaItemConverter
Converts between
MediaItem
and the Cast SDK's
MediaQueueItem
.
-
+
MediaItemConverter
-
+
MediaLoadData
Descriptor for data being loaded or selected by a
MediaSource
.
-
+
MediaMetadata
-
+
MediaMetadata.Builder
-
+
MediaMetadata.FolderType
The folder type of the media item.
-
+
MediaMetadata.PictureType
The picture type of the artwork.
-
+
MediaMetricsListener
-
+
MediaParserChunkExtractor
-
+
MediaParserExtractorAdapter
-
+
MediaParserHlsMediaChunkExtractor
-
+
MediaParserUtil
Miscellaneous constants and utility methods related to the
MediaParser
integration.
-
+
MediaPeriod
Loads media corresponding to a
Timeline.Period
, and allows that media to be read.
-
+
MediaPeriod.Callback
-
+
MediaPeriodAsserts
-
+
MediaPeriodAsserts.FilterableManifestMediaPeriodFactory <T extends FilterableManifest <T >>
-
+
MediaPeriodId
-
+
MediaSessionConnector
Connects a
MediaSessionCompat
to a
Player
.
-
+
MediaSessionConnector.CaptionCallback
Handles requests for enabling or disabling captions.
-
+
MediaSessionConnector.CommandReceiver
Receiver of media commands sent by a media controller.
-
+
MediaSessionConnector.CustomActionProvider
Provides a PlaybackStateCompat.CustomAction
to be published and handles the action when
sent by a media controller.
-
+
MediaSessionConnector.DefaultMediaMetadataProvider
Provides a default MediaMetadataCompat
with properties and extras taken from the MediaDescriptionCompat
of the MediaSessionCompat.QueueItem
of the active queue item.
-
+
MediaSessionConnector.MediaButtonEventHandler
Handles a media button event.
-
+
MediaSessionConnector.MediaMetadataProvider
Provides a MediaMetadataCompat
for a given player state.
-
+
MediaSessionConnector.PlaybackActions
Playback actions supported by the connector.
-
+
MediaSessionConnector.PlaybackPreparer
Interface to which playback preparation and play actions are delegated.
-
+
MediaSessionConnector.QueueEditor
Handles media session queue edits.
-
+
MediaSessionConnector.QueueNavigator
Handles queue navigation actions, and updates the media session queue by calling
MediaSessionCompat.setQueue()
.
-
+
MediaSessionConnector.RatingCallback
Callback receiving a user rating for the active media item.
-
+
MediaSource
Defines and provides media to be played by an
ExoPlayer
.
-
+
MediaSource.Factory
-
+
MediaSource.MediaPeriodId
-
+
MediaSource.MediaSourceCaller
A caller of media sources, which will be notified of source events.
-
+
MediaSourceEventListener
Interface for callbacks to be notified of
MediaSource
events.
-
+
MediaSourceEventListener.EventDispatcher
-
+
MediaSourceFactory
Deprecated.
-
+
MediaSourceTestRunner
-
+
MergingMediaSource
-
+
MergingMediaSource.IllegalMergeException
-
+
MergingMediaSource.IllegalMergeException.Reason
The reason the merge failed.
-
+
Metadata
A collection of metadata entries.
-
+
Metadata.Entry
A metadata entry.
-
+
MetadataDecoder
Decodes metadata from binary data.
-
+
MetadataDecoderFactory
-
+
MetadataInputBuffer
-
+
MetadataOutput
Receives metadata output.
-
+
MetadataRenderer
A renderer for metadata.
-
+
MetadataRetriever
-
+
MimeTypes
Defines common MIME types and helper methods.
-
+
MlltFrame
MPEG location lookup table frame.
-
+
MotionPhotoMetadata
Metadata of a motion photo file.
-
+
Mp3Extractor
Extracts data from the MP3 container format.
-
+
Mp3Extractor.Flags
Flags controlling the behavior of the extractor.
-
+
Mp4Extractor
Extracts data from the MP4 container format.
-
+
Mp4Extractor.Flags
Flags controlling the behavior of the extractor.
-
+
Mp4WebvttDecoder
-
+
MpegAudioReader
Parses a continuous MPEG Audio byte stream and extracts individual frames.
-
+
MpegAudioUtil
Utility methods for handling MPEG audio streams.
-
+
MpegAudioUtil.Header
Stores the metadata for an MPEG audio frame.
-
+
NalUnitUtil
Utility methods for handling H.264/AVC and H.265/HEVC NAL units.
-
+
NalUnitUtil.H265SpsData
Holds data parsed from a H.265 sequence parameter set NAL unit.
-
+
NalUnitUtil.PpsData
Holds data parsed from a picture parameter set NAL unit.
-
+
NalUnitUtil.SpsData
Holds data parsed from a H.264 sequence parameter set NAL unit.
-
+
NetworkTypeObserver
Observer for network type changes.
-
-NetworkTypeObserver.Config
-
-
-
-
-
+
NetworkTypeObserver.Listener
A listener for network type changes.
-
+
NonNullApi
Annotation to declare all type usages in the annotated instance as Nonnull
, unless
explicitly marked with a nullable annotation.
-
+
NoOpCacheEvictor
Evictor that doesn't ever evict cache files.
-
+
NoSampleRenderer
-
+
NotificationUtil
-
+
NotificationUtil.Importance
Notification channel importance levels.
-
+
NoUidTimeline
A timeline which wraps another timeline and overrides all window and period uids to 0.
-
+
OfflineLicenseHelper
Helper class to download, renew and release offline licenses.
-
+
OggExtractor
Extracts data from the Ogg container format.
-
+
OkHttpDataSource
-
+
OkHttpDataSource.Factory
-
+
OkHttpDataSourceFactory
Deprecated.
-
+
OpusDecoder
Opus decoder.
-
+
OpusDecoderException
Thrown when an Opus decoder error occurs.
-
+
OpusLibrary
Configures and queries the underlying native library.
-
+
OpusUtil
Utility methods for handling Opus audio streams.
-
+
OutputConsumerAdapterV30
-
+
ParsableBitArray
Wraps a byte array, providing methods that allow it to be read as a bitstream.
-
+
ParsableByteArray
Wraps a byte array, providing a set of methods for parsing data from it.
-
+
ParsableNalUnitBitArray
Wraps a byte array, providing methods that allow it to be read as a NAL unit bitstream.
-
+
ParserException
Thrown when an error occurs parsing media data and metadata.
-
+
ParsingLoadable <T >
-
+
ParsingLoadable.Parser <T >
Parses an object from loaded data.
-
+
PassthroughSectionPayloadReader
-
+
PercentageRating
A rating expressed as a percentage.
-
+
Period
Encapsulates media content components over a contiguous period of time.
-
+
PesReader
Parses PES packet data and extracts samples.
-
+
PgsDecoder
-
+
PictureFrame
A picture parsed from a Vorbis Comment or a FLAC picture block.
-
-PlatformScheduler
+
+PlaceholderDataSource
-
+A DataSource which provides no data.
-
-PlatformScheduler.PlatformSchedulerService
+
+PlaceholderSurface
+
+
+
+
+
+PlatformScheduler
+
+
+
+
+
+PlatformScheduler.PlatformSchedulerService
A
JobService
that starts the target service if the requirements are met.
-
+
PlaybackException
Thrown when a non locally recoverable playback failure occurs.
-
+
PlaybackException.ErrorCode
Codes that identify causes of player errors.
-
-PlaybackException.FieldNumber
-
-Identifiers for fields in a
Bundle
which represents a playback exception.
-
-
-
+
PlaybackOutput
Class to capture output from a playback test.
-
+
PlaybackParameters
Parameters that apply to playback, including speed setting.
-
+
PlaybackSessionManager
Manager for active playback sessions.
-
+
PlaybackSessionManager.Listener
A listener for session updates.
-
+
PlaybackStats
Statistics about playbacks.
-
+
PlaybackStats.EventTimeAndException
Stores an exception with the event time at which it occurred.
-
+
PlaybackStats.EventTimeAndFormat
Stores a format with the event time at which it started being used, or null
to indicate
that no format was used.
-
+
PlaybackStats.EventTimeAndPlaybackState
Stores a playback state with the event time at which it became active.
-
+
PlaybackStatsListener
-
+
PlaybackStatsListener.Callback
-
+
Player
A media player interface defining traditional high-level functionality, such as the ability to
play, pause, seek and query properties of the currently playing media.
-
+
Player.Command
Commands that can be executed on a Player
.
-
+
Player.Commands
-
+
Player.Commands.Builder
-
+
Player.DiscontinuityReason
Reasons for position discontinuities.
-
+
Player.Event
-
+
Player.Events
-
+
Player.Listener
Listener of all changes in the Player.
-
+
Player.MediaItemTransitionReason
Reasons for media item transitions.
-
+
Player.PlaybackSuppressionReason
-
+
Player.PlayWhenReadyChangeReason
-
+
Player.PositionInfo
Position info describing a playback position involved in a discontinuity.
-
+
Player.RepeatMode
Repeat modes for playback.
-
+
Player.State
Playback state.
-
+
Player.TimelineChangeReason
Reasons for timeline changes.
-
+
PlayerControlView
A view for controlling
Player
instances.
-
+
PlayerControlView.ProgressUpdateListener
Listener to be notified when progress has been updated.
-
+
PlayerControlView.VisibilityListener
Listener to be notified about changes of the visibility of the UI control.
-
+
PlayerEmsgHandler
Handles all emsg messages from all media tracks for the player.
-
+
PlayerEmsgHandler.PlayerEmsgCallback
Callbacks for player emsg events encountered during DASH live stream.
-
+
PlayerId
Identifier for a player instance.
-
+
PlayerMessage
-
+
PlayerMessage.Sender
A sender for messages.
-
+
PlayerMessage.Target
A target for messages.
-
+
PlayerNotificationManager
Starts, updates and cancels a media style notification reflecting the player state.
-
+
PlayerNotificationManager.Builder
-
+
PlayerNotificationManager.CustomActionReceiver
Defines and handles custom actions.
-
+
PlayerNotificationManager.MediaDescriptionAdapter
An adapter to provide content assets of the media currently playing.
-
+
PlayerNotificationManager.NotificationListener
A listener for changes to the notification.
-
+
PlayerNotificationManager.Priority
Priority of the notification (required for API 25 and lower).
-
+
PlayerNotificationManager.Visibility
Visibility of notification on the lock screen.
-
+
PlayerView
Deprecated.
-
+
PlayerView.ShowBuffering
Determines when the buffering view is shown.
-
+
PositionHolder
Holds a position in the stream.
-
+
+Presentation
+
+Controls how a frame is presented with options to set the output resolution, crop the input, and
+ choose how to map the input pixels onto the output frame geometry (for example, by stretching the
+ input frame to match the specified output frame, or fitting the input frame using letterboxing).
+
+
+
+Presentation.Builder
+
+
+
+
+
+Presentation.Layout
+
+Strategies controlling the layout of input pixels in the output frame.
+
+
+
PriorityDataSource
-
+
PriorityDataSource.Factory
-
+
PriorityDataSourceFactory
Deprecated.
-
+
PriorityTaskManager
Allows tasks with associated priorities to control how they proceed relative to one another.
-
+
PriorityTaskManager.PriorityTooLowException
Thrown when task attempts to proceed when another registered task has a higher priority.
-
+
PrivateCommand
Represents a private command as defined in SCTE35, Section 9.3.6.
-
+
PrivFrame
PRIV (Private) ID3 frame.
-
+
ProgramInformation
A parsed program information element.
-
+
ProgressHolder
Holds a progress percentage.
-
+
ProgressiveDownloader
A downloader for progressive media streams.
-
+
ProgressiveMediaExtractor
Extracts the contents of a container file from a progressive media stream.
-
+
ProgressiveMediaExtractor.Factory
-
+
ProgressiveMediaSource
Provides one period that loads data from a
Uri
and extracted using an
Extractor
.
-
+
ProgressiveMediaSource.Factory
-
+
PsExtractor
Extracts data from the MPEG-2 PS container format.
-
+
PsshAtomUtil
Utility methods for handling PSSH atoms.
-
+
RandomizedMp3Decoder
Generates randomized, but correct amount of data on MP3 audio input.
-
+
RandomTrackSelection
-
+
RandomTrackSelection.Factory
-
+
RangedUri
Defines a range of data located at a reference uri.
-
+
Rating
A rating for media content.
-
-RawCcExtractor
-
-Extracts data from the RawCC container format.
-
-
-
+
RawResourceDataSource
A
DataSource
for reading a raw resource inside the APK.
-
+
RawResourceDataSource.RawResourceDataSourceException
Thrown when an
IOException
is encountered reading from a raw resource.
-
+
Renderer
-
+
Renderer.MessageType
Represents a type of message that can be passed to a renderer.
-
+
Renderer.State
The renderer states.
-
+
Renderer.WakeupListener
-
+
RendererCapabilities
-
+
RendererCapabilities.AdaptiveSupport
Level of renderer support for adaptive format switches.
-
+
RendererCapabilities.Capabilities
Combined renderer capabilities.
-
+
RendererCapabilities.DecoderSupport
Level of decoder support.
-
+
RendererCapabilities.FormatSupport
Deprecated.
-
+
RendererCapabilities.HardwareAccelerationSupport
Level of renderer support for hardware acceleration.
-
+
RendererCapabilities.TunnelingSupport
Level of renderer support for tunneling.
-
+
RendererConfiguration
-
+
RenderersFactory
-
+
RepeatModeActionProvider
Provides a custom action for toggling repeat modes.
-
+
RepeatModeUtil
Util class for repeat mode handling.
-
+
RepeatModeUtil.RepeatToggleModes
Set of repeat toggle modes.
-
+
Representation
A DASH representation.
-
+
Representation.MultiSegmentRepresentation
A DASH representation consisting of multiple segments.
-
+
Representation.SingleSegmentRepresentation
A DASH representation consisting of a single segment.
-
+
Requirements
Defines a set of device state requirements.
-
+
Requirements.RequirementFlags
Requirement flags.
-
+
RequirementsWatcher
-
+
RequirementsWatcher.Listener
Notified when RequirementsWatcher instance first created and on changes whether the
Requirements
are met.
-
+
ResolvingDataSource
-
+
ResolvingDataSource.Factory
-
+
ResolvingDataSource.Resolver
-
+
RobolectricUtil
Utility methods for Robolectric-based tests.
-
+
RtmpDataSource
-
+
RtmpDataSource.Factory
-
+
RtmpDataSourceFactory
Deprecated.
-
+
RtpAc3Reader
Parses an AC3 byte stream carried on RTP packets, and extracts AC3 frames.
-
+
RtpPacket
Represents the header and the payload of an RTP packet.
-
+
RtpPacket.Builder
-
+
RtpPayloadFormat
Represents the payload format used in RTP.
-
+
RtpPayloadReader
Extracts media samples from the payload of received RTP packets.
-
+
RtpPayloadReader.Factory
-
+
+RtpPcmReader
+
+Parses byte stream carried on RTP packets, and extracts PCM frames.
+
+
+
RtpUtils
Utility methods for RTP.
-
+
RtspMediaSource
-
+
RtspMediaSource.Factory
-
+
RtspMediaSource.RtspPlaybackException
Thrown when an exception or error is encountered during loading an RTSP stream.
-
+
RubySpan
A styling span for ruby text.
-
+
RunnableFutureTask <R ,E extends Exception >
A
RunnableFuture
that supports additional uninterruptible operations to query whether
execution has started and finished.
-
+
SampleQueue
A queue of media samples.
-
+
SampleQueue.UpstreamFormatChangedListener
A listener for changes to the upstream format.
-
+
SampleQueueMappingException
-
+
SampleStream
A stream of media samples (and associated format information).
-
+
SampleStream.ReadDataResult
-
+
SampleStream.ReadFlags
-
+
+ScaleToFitTransformation
+
+Specifies a simple rotation and/or scale to apply in the vertex shader.
+
+
+
+ScaleToFitTransformation.Builder
+
+
+
+
+
Scheduler
Schedules a service to be started in the foreground when some
Requirements
are met.
-
+
SectionPayloadReader
Reads section data.
-
+
SectionReader
-
+
SeekMap
Maps seek positions (in microseconds) to corresponding positions (byte offsets) in the stream.
-
+
SeekMap.SeekPoints
-
+
SeekMap.Unseekable
A
SeekMap
that does not support seeking.
-
+
SeekParameters
Parameters that apply to seeking.
-
+
SeekPoint
Defines a seek point in a media stream.
-
+
SegmentBase
An approximate representation of a SegmentBase manifest element.
-
+
SegmentBase.MultiSegmentBase
-
+
SegmentBase.SegmentList
-
+
SegmentBase.SegmentTemplate
-
+
SegmentBase.SegmentTimelineElement
Represents a timeline segment from the MPD's SegmentTimeline list.
-
+
SegmentBase.SingleSegmentBase
-
+
SegmentDownloader <M extends FilterableManifest <M >>
Base class for multi segment stream downloaders.
-
+
SegmentDownloader.Segment
Smallest unit of content to be downloaded.
-
+
SeiReader
Consumes SEI buffers, outputting contained CEA-608/708 messages to a
TrackOutput
.
-
+
SequenceableLoader
A loader that can proceed in approximate synchronization with other loaders.
-
+
SequenceableLoader.Callback <T extends SequenceableLoader >
-
+
ServerSideAdInsertionMediaSource
-
+
ServerSideAdInsertionMediaSource.AdPlaybackStateUpdater
Receives ad playback state update requests when the
Timeline
of the content media
source has changed.
-
+
ServerSideAdInsertionUtil
A static utility class with methods to work with server-side inserted ads.
-
+
ServiceDescriptionElement
Represents a service description element.
-
+
SessionAvailabilityListener
Listener of changes in the cast session availability.
-
+
SessionCallbackBuilder
Builds a MediaSession.SessionCallback
with various collaborators.
-
+
SessionCallbackBuilder.AllowedCommandProvider
Provides allowed commands for MediaController
.
-
+
SessionCallbackBuilder.CustomCommandProvider
Callbacks for querying what custom commands are supported, and for handling a custom command
when a controller sends it.
-
+
SessionCallbackBuilder.DefaultAllowedCommandProvider
-
+
SessionCallbackBuilder.DisconnectedCallback
Callback for handling controller disconnection.
-
+
SessionCallbackBuilder.MediaIdMediaItemProvider
-
+
SessionCallbackBuilder.MediaItemProvider
Provides the MediaItem
.
-
+
SessionCallbackBuilder.PostConnectCallback
Callback for handling extra initialization after the connection.
-
+
SessionCallbackBuilder.RatingCallback
Callback receiving a user rating for a specified media id.
-
+
SessionCallbackBuilder.SkipCallback
Callback receiving skip backward and skip forward.
-
+
SessionPlayerConnector
An implementation of
SessionPlayer
that wraps a given ExoPlayer
Player
instance.
-
+
ShadowMediaCodecConfig
A JUnit @Rule to configure Roboelectric's ShadowMediaCodec
.
-
+
ShuffleOrder
Shuffled order of indices.
-
+
ShuffleOrder.DefaultShuffleOrder
The default
ShuffleOrder
implementation for random shuffle order.
-
+
ShuffleOrder.UnshuffledShuffleOrder
-
+
SilenceMediaSource
Media source with a single period consisting of silent raw audio of a given duration.
-
+
SilenceMediaSource.Factory
-
+
SilenceSkippingAudioProcessor
-
+
SimpleCache
A
Cache
implementation that maintains an in-memory representation.
-
+
SimpleDecoder <I extends DecoderInputBuffer ,O extends DecoderOutputBuffer ,E extends DecoderException >
Base class for
Decoder
s that use their own decode thread and decode each input buffer
immediately into a corresponding output buffer.
-
+
SimpleDecoderOutputBuffer
-
+
SimpleExoPlayer
Deprecated.
-
+
SimpleExoPlayer.Builder
Deprecated.
-
+
SimpleMetadataDecoder
-
+
SimpleSubtitleDecoder
Base class for subtitle parsers that use their own decode thread.
-
+
+SingleFrameGlTextureProcessor
+
+Manages a GLSL shader program for processing a frame.
+
+
+
SinglePeriodAdTimeline
-
+
SinglePeriodTimeline
A
Timeline
consisting of a single period and static window.
-
+
SingleSampleMediaChunk
-
+
SingleSampleMediaSource
Loads data at a given
Uri
as a single sample belonging to a single
MediaPeriod
.
-
+
SingleSampleMediaSource.Factory
-
+
SlidingPercentile
Calculate any percentile over a sliding window of weighted values.
-
+
SlowMotionData
Holds information about the segments of slow motion playback within a track.
-
+
SlowMotionData.Segment
Holds information about a single segment of slow motion playback within a track.
-
+
SmtaMetadataEntry
Stores metadata from the Samsung smta box.
-
+
SntpClient
Static utility to retrieve the device time offset using SNTP.
-
+
SntpClient.InitializationCallback
-
+
SonicAudioProcessor
An
AudioProcessor
that uses the Sonic library to modify audio speed/pitch/sample rate.
-
+
SpannedSubject
A Truth
Subject
for assertions on
Spanned
instances containing text styling.
-
+
SpannedSubject.AbsoluteSized
Allows assertions about the absolute size of a span.
-
+
SpannedSubject.Aligned
Allows assertions about the alignment of a span.
-
+
SpannedSubject.AndSpanFlags
Allows additional assertions to be made on the flags of matching spans.
-
+
SpannedSubject.Colored
Allows assertions about the color of a span.
-
+
SpannedSubject.EmphasizedText
Allows assertions about a span's text emphasis mark and its position.
-
+
SpannedSubject.RelativeSized
Allows assertions about the relative size of a span.
-
+
SpannedSubject.RubyText
Allows assertions about a span's ruby text and its position.
-
+
SpannedSubject.Typefaced
Allows assertions about the typeface of a span.
-
+
SpannedSubject.WithSpanFlags
Allows additional assertions to be made on the flags of matching spans.
-
+
SpanUtil
-
+
SphericalGLSurfaceView
Renders a GL scene in a non-VR Activity that is affected by phone orientation and touch input.
-
+
SphericalGLSurfaceView.VideoSurfaceListener
Listener for the
Surface
to which video frames should be rendered.
-
+
SpliceCommand
Superclass for SCTE35 splice commands.
-
+
SpliceInfoDecoder
Decodes splice info sections and produces splice commands.
-
+
SpliceInsertCommand
Represents a splice insert command defined in SCTE35, Section 9.3.3.
-
+
SpliceInsertCommand.ComponentSplice
Holds splicing information for specific splice insert command components.
-
+
SpliceNullCommand
Represents a splice null command as defined in SCTE35, Section 9.3.1.
-
+
SpliceScheduleCommand
Represents a splice schedule command as defined in SCTE35, Section 9.3.2.
-
+
SpliceScheduleCommand.ComponentSplice
Holds splicing information for specific splice schedule command components.
-
+
SpliceScheduleCommand.Event
-
+
SsaDecoder
-
+
SsChunkSource
-
+
SsChunkSource.Factory
-
+
SsDownloader
A downloader for SmoothStreaming streams.
-
+
SsManifest
Represents a SmoothStreaming manifest.
-
+
SsManifest.ProtectionElement
Represents a protection element containing a single header.
-
+
SsManifest.StreamElement
Represents a StreamIndex element.
-
+
SsManifestParser
Parses SmoothStreaming client manifests.
-
+
SsManifestParser.MissingFieldException
Thrown if a required field is missing.
-
+
SsMediaSource
-
+
SsMediaSource.Factory
-
+
StandaloneDatabaseProvider
-
+
StandaloneMediaClock
A
MediaClock
whose position advances with real time based on the playback parameters when
started.
-
+
StarRating
A rating expressed as a fractional number of stars.
-
+
StartOffsetExtractorOutput
An extractor output that wraps another extractor output and applies a give start byte offset to
seek positions.
-
+
StatsDataSource
DataSource
wrapper which keeps track of bytes transferred, redirected uris, and response
headers.
-
+
StreamKey
A key for a subset of media that can be separately loaded (a "stream").
-
+
StubExoPlayer
-
+
StubPlayer
-
+
StyledPlayerControlView
A view for controlling
Player
instances.
-
+
StyledPlayerControlView.OnFullScreenModeChangedListener
-
-Listener to be invoked to inform the fullscreen mode is changed.
+ Deprecated.
+
-
+
StyledPlayerControlView.ProgressUpdateListener
Listener to be notified when progress has been updated.
-
+
StyledPlayerControlView.VisibilityListener
-
-Listener to be notified about changes of the visibility of the UI control.
+ Deprecated.
+
-
+
StyledPlayerView
A high level view for
Player
media playbacks.
-
+
+StyledPlayerView.ControllerVisibilityListener
+
+Listener to be notified about changes of the visibility of the UI controls.
+
+
+
+StyledPlayerView.FullscreenButtonClickListener
+
+Listener invoked when the fullscreen button is clicked.
+
+
+
StyledPlayerView.ShowBuffering
Determines when the buffering view is shown.
-
+
SubripDecoder
-
+
Subtitle
A subtitle consisting of timed
Cue
s.
-
+
SubtitleDecoder
-
+
SubtitleDecoderException
Thrown when an error occurs decoding subtitle data.
-
+
SubtitleDecoderFactory
-
+
SubtitleExtractor
Generic extractor for extracting subtitles from various subtitle formats.
-
+
SubtitleInputBuffer
-
+
SubtitleOutputBuffer
-
+
SubtitleView
A view for displaying subtitle
Cue
s.
-
+
SubtitleView.ViewType
The type of
View
to use to display subtitles.
-
+
SynchronousMediaCodecAdapter
-
+
SynchronousMediaCodecAdapter.Factory
-
+
SystemClock
The standard implementation of
Clock
, an instance of which is available via
Clock.DEFAULT
.
-
+
TeeAudioProcessor
Audio processor that outputs its input unmodified and also outputs its input to a given sink.
-
+
TeeAudioProcessor.AudioBufferSink
A sink for audio buffers handled by the audio processor.
-
+
TeeAudioProcessor.WavFileAudioBufferSink
A sink for audio buffers that writes output audio as .wav files with a given path prefix.
-
+
TeeDataSource
Tees data into a
DataSink
as the data is read.
-
+
TestDownloadManagerListener
-
+
TestExoPlayerBuilder
A builder of
ExoPlayer
instances for testing.
-
+
TestPlayerRunHelper
Helper methods to block the calling thread until the provided
ExoPlayer
instance reaches
a particular state.
-
+
TestUtil
Utility methods for tests.
-
+
TextAnnotation
Properties of a text annotation (i.e.
-
+
TextAnnotation.Position
The possible positions of the annotation text relative to the base text.
-
+
TextEmphasisSpan
A styling span for text emphasis marks.
-
+
TextEmphasisSpan.MarkFill
The possible mark fills that can be used.
-
+
TextEmphasisSpan.MarkShape
The possible mark shapes that can be used.
-
+
TextInformationFrame
Text information ID3 frame.
-
+
TextOutput
Receives text output.
-
+
TextRenderer
A renderer for text.
-
+
ThumbRating
A rating expressed as "thumbs up" or "thumbs down".
-
+
TimeBar
Interface for time bar views that can display a playback position, buffered position, duration
and ad markers, and that have a listener for scrubbing (seeking) events.
-
+
TimeBar.OnScrubListener
Listener for scrubbing events.
-
+
TimedValueQueue <V >
A utility class to keep a queue of values with timestamps.
-
+
Timeline
A flexible representation of the structure of media.
-
+
Timeline.Period
Holds information about a period in a
Timeline
.
-
+
Timeline.RemotableTimeline
-
+
Timeline.Window
Holds information about a window in a
Timeline
.
-
+
TimelineAsserts
-
+
TimelineQueueEditor
-
+
TimelineQueueEditor.MediaDescriptionConverter
Converts a
MediaDescriptionCompat
to a
MediaItem
.
-
+
TimelineQueueEditor.MediaIdEqualityChecker
Media description comparator comparing the media IDs.
-
+
TimelineQueueEditor.QueueDataAdapter
Adapter to get
MediaDescriptionCompat
of items in the queue and to notify the
application about changes in the queue to sync the data structure backing the
MediaSessionConnector
.
-
+
TimelineQueueNavigator
-
+
TimeSignalCommand
Represents a time signal command as defined in SCTE35, Section 9.3.4.
-
+
TimestampAdjuster
Adjusts and offsets sample timestamps.
-
+
TimestampAdjusterProvider
-
+
TimeToFirstByteEstimator
Provides an estimate of the time to first byte of a transfer.
-
+
TraceUtil
Calls through to
Trace
methods on supported API levels.
-
+
Track
Encapsulates information describing an MP4 track.
-
+
Track.Transformation
The transformation to apply to samples in the track, if any.
-
+
TrackEncryptionBox
Encapsulates information parsed from a track encryption (tenc) box or sample group description
(sgpd) box in an MP4 stream.
-
+
TrackGroup
-Defines an immutable group of tracks identified by their format identity.
+An immutable group of tracks available within a media stream.
-
+
TrackGroupArray
-
+
TrackNameProvider
Converts
Format
s to user readable track names.
-
+
TrackOutput
Receives track level data extracted by an
Extractor
.
-
+
TrackOutput.CryptoData
Holds data required to decrypt a sample.
-
+
TrackOutput.SampleDataPart
-
+
+Tracks
+
+Information about groups of tracks.
+
+
+
+Tracks.Group
+
+Information about a single group of tracks, including the underlying
TrackGroup
, the
+ level to which each track is supported by the player, and whether any of the tracks are
+ selected.
+
+
+
TrackSelection
A track selection consisting of a static subset of selected tracks belonging to a
TrackGroup
.
-
+
TrackSelection.Type
Represents a type track selection.
-
+
TrackSelectionArray
-
+
TrackSelectionDialogBuilder
-
+
TrackSelectionDialogBuilder.DialogCallback
Callback which is invoked when a track selection has been made.
-
-TrackSelectionOverrides
-
-Forces the selection of the specified tracks in
TrackGroups
.
-
-
-
-TrackSelectionOverrides.Builder
-
-
-
-
-
-TrackSelectionOverrides.TrackSelectionOverride
+
+TrackSelectionOverride
-
+A track selection override, consisting of a
TrackGroup
and the indices of the tracks
+ within the group that should be selected.
-
+
TrackSelectionParameters
-Constraint parameters for track selection.
+Parameters for controlling track selection.
-
+
TrackSelectionParameters.Builder
-
+
TrackSelectionUtil
Track selection related utility methods.
-
+
TrackSelectionUtil.AdaptiveTrackSelectionFactory
Functional interface to create a single adaptive track selection.
-
+
TrackSelectionView
A view for making track selections.
-
+
TrackSelectionView.TrackSelectionListener
Listener for changes to the selected tracks.
-
+
TrackSelector
The component of an
ExoPlayer
responsible for selecting tracks to be consumed by each of
the player's
Renderer
s.
-
+
TrackSelector.InvalidationListener
Notified when selections previously made by a
TrackSelector
are no longer valid.
-
+
TrackSelectorResult
-
-TracksInfo
-
-Information about groups of tracks.
-
-
-
-TracksInfo.TrackGroupInfo
-
-Information about a single group of tracks, including the underlying
TrackGroup
, the
-
type
of tracks it contains, and the level to which each track is supported
- by the player.
-
-
-
+
TransferListener
A listener of data transfer events.
-
+
TransformationException
Thrown when a non-locally recoverable transformation failure occurs.
-
+
TransformationException.ErrorCode
-
+
TransformationRequest
A media transformation request.
-
+
TransformationRequest.Builder
-
+
+TransformationResult
+
+Information about the result of a successful transformation.
+
+
+
+TransformationResult.Builder
+
+
+
+
+
Transformer
A transformer to transform media inputs.
-
+
Transformer.Builder
-
+
Transformer.DebugViewProvider
Provider for views to show diagnostic information during transformation, for debugging.
-
+
Transformer.Listener
A listener for the transformation events.
-
+
Transformer.ProgressState
Progress state.
-
+
TrueHdSampleRechunker
-
+
TsExtractor
Extracts data from the MPEG-2 TS container format.
-
+
TsExtractor.Mode
Modes for the extractor.
-
+
TsPayloadReader
Parses TS packet payload data.
-
+
TsPayloadReader.DvbSubtitleInfo
Holds information about a DVB subtitle, as defined in ETSI EN 300 468 V1.11.1 section 6.2.41.
-
+
TsPayloadReader.EsInfo
Holds information associated with a PMT entry.
-
+
TsPayloadReader.Factory
-
+
TsPayloadReader.Flags
Contextual flags indicating the presence of indicators in the TS packet or PES packet headers.
-
+
TsPayloadReader.TrackIdGenerator
-
+
TsUtil
Utilities method for extracting MPEG-TS streams.
-
+
TtmlDecoder
-
+
Tx3gDecoder
-
+
UdpDataSource
-
+
UdpDataSource.UdpDataSourceException
Thrown when an error is encountered when trying to read from a
UdpDataSource
.
-
+
UnknownNull
Annotation for specifying unknown nullness.
-
+
UnrecognizedInputFormatException
Thrown if the input format was not recognized.
-
+
UnsupportedDrmException
Thrown when the requested DRM scheme is not supported.
-
+
UnsupportedDrmException.Reason
The reason for the exception.
-
+
UriUtil
Utility methods for manipulating URIs.
-
+
UrlLinkFrame
Url link ID3 frame.
-
+
UrlTemplate
A template from which URLs can be built.
-
+
UtcTimingElement
Represents a UTCTiming element.
-
+
Util
Miscellaneous utility methods.
-
+
VersionTable
Utility methods for accessing versions of media library database components.
-
+
VideoDecoderGLSurfaceView
-
+
VideoDecoderOutputBuffer
Video decoder output buffer containing video frame data.
-
+
VideoDecoderOutputBufferRenderer
-
+
+VideoEncoderSettings
+
+Represents the video encoder settings.
+
+
+
+VideoEncoderSettings.BitrateMode
+
+
+
+
+
+VideoEncoderSettings.Builder
+
+
+
+
+
VideoFrameMetadataListener
A listener for metadata corresponding to video frames being rendered.
-
+
VideoFrameReleaseHelper
-
+
VideoRendererEventListener
-
+
VideoRendererEventListener.EventDispatcher
-
+
VideoSize
Represents the video size.
-
+
VorbisBitArray
Wraps a byte array, providing methods that allow it to be read as a Vorbis bitstream.
-
+
VorbisComment
Deprecated.
-
+
VorbisComment
A vorbis comment, extracted from a FLAC or Ogg file.
-
+
VorbisUtil
Utility methods for parsing Vorbis streams.
-
+
VorbisUtil.CommentHeader
Vorbis comment header.
-
+
VorbisUtil.Mode
Vorbis setup header modes.
-
+
VorbisUtil.VorbisIdHeader
Vorbis identification header.
-
+
VpxDecoder
Vpx decoder.
-
+
VpxDecoderException
Thrown when a libvpx decoder error occurs.
-
+
VpxLibrary
Configures and queries the underlying native library.
-
+
WavExtractor
Extracts data from WAV byte streams.
-
+
WavUtil
Utilities for handling WAVE files.
-
+
WebServerDispatcher
A Dispatcher
for MockWebServer
that allows per-path
customisation of the static data served.
-
+
WebServerDispatcher.Resource
-
+
WebServerDispatcher.Resource.Builder
-
+
WebvttCssStyle
Style object of a Css style block in a Webvtt file.
-
+
WebvttCssStyle.FontSizeUnit
Font size unit enum.
-
+
WebvttCssStyle.StyleFlags
Style flag enum.
-
+
WebvttCueInfo
A representation of a WebVTT cue.
-
+
WebvttCueParser
Parser for WebVTT cues.
-
+
WebvttDecoder
-
+
WebvttExtractor
A special purpose extractor for WebVTT content in HLS.
-
+
WebvttParserUtil
Utility methods for parsing WebVTT data.
-
+
WidevineUtil
Utility methods for Widevine.
-
+
WorkManagerScheduler
-
+
WorkManagerScheduler.SchedulerWorker
A Worker
that starts the target service if the requirements are met.
-
+
WritableDownloadIndex
-
+
XmlPullParserUtil
diff --git a/docs/doc/reference/allclasses.html b/docs/doc/reference/allclasses.html
index a7db5bc75ce..2d3a9c02e02 100644
--- a/docs/doc/reference/allclasses.html
+++ b/docs/doc/reference/allclasses.html
@@ -115,6 +115,7 @@ All Classes
AssetDataSource.AssetDataSourceException
AtomicFile
AudioAttributes
+AudioAttributes.AudioAttributesV21
AudioAttributes.Builder
AudioCapabilities
AudioCapabilitiesReceiver
@@ -133,6 +134,7 @@ All Classes
AudioSink.WriteException
AuxEffectInfo
AvcConfig
+AviExtractor
BandwidthMeter
BandwidthMeter.EventListener
BandwidthMeter.EventListener.EventDispatcher
@@ -241,7 +243,7 @@ All Classes
ClippingMediaSource.IllegalClippingException
ClippingMediaSource.IllegalClippingException.Reason
Clock
-Codec
+Codec
Codec.DecoderFactory
Codec.EncoderFactory
CodecSpecificDataUtil
@@ -278,6 +280,7 @@ All Classes
Cue.VerticalType
CueDecoder
CueEncoder
+CueGroup
DashChunkSource
DashChunkSource.Factory
DashDownloader
@@ -339,6 +342,7 @@ All Classes
DefaultBandwidthMeter
DefaultBandwidthMeter.Builder
DefaultCastOptionsProvider
+DefaultCodec
DefaultCompositeSequenceableLoaderFactory
DefaultContentMetadata
DefaultDashChunkSource
@@ -356,6 +360,7 @@ All Classes
DefaultDrmSessionManager.MissingSchemeDataException
DefaultDrmSessionManager.Mode
DefaultDrmSessionManagerProvider
+DefaultEncoderFactory
DefaultExtractorInput
DefaultExtractorsFactory
DefaultHlsDataSourceFactory
@@ -386,6 +391,7 @@ All Classes
DefaultTrackNameProvider
DefaultTrackSelector
DefaultTrackSelector.Parameters
+DefaultTrackSelector.Parameters.Builder
DefaultTrackSelector.ParametersBuilder
DefaultTrackSelector.SelectionEligibility
DefaultTrackSelector.SelectionOverride
@@ -430,12 +436,10 @@ All Classes
DrmUtil.ErrorSource
DtsReader
DtsUtil
-DummyDataSource
DummyExoMediaDrm
DummyExtractorOutput
DummyMainThread
DummyMainThread.TestRunnable
-DummySurface
DummyTrackOutput
DumpableFormat
Dumper
@@ -451,6 +455,7 @@ All Classes
EGLSurfaceTexture.TextureImageListener
ElementaryStreamReader
EmptySampleStream
+EncoderSelector
EncoderUtil
ErrorMessageProvider
ErrorStateDrmSession
@@ -583,6 +588,7 @@ All Classes
ForwardingTimeline
FragmentedMp4Extractor
FragmentedMp4Extractor.Flags
+FrameProcessingException
FrameworkCryptoConfig
FrameworkMediaDrm
GaplessInfoHolder
@@ -590,9 +596,11 @@ All Classes
Gav1DecoderException
Gav1Library
GeobFrame
+GlEffect
+GlMatrixTransformation
+GlProgram
GlUtil
GlUtil.GlException
-GlUtil.Program
H262Reader
H263Reader
H264Reader
@@ -711,6 +719,7 @@ All Classes
MaskingMediaPeriod.PrepareListener
MaskingMediaSource
MaskingMediaSource.PlaceholderTimeline
+MatrixTransformation
MatroskaExtractor
MatroskaExtractor.Flags
MatroskaExtractor.Track
@@ -749,6 +758,8 @@ All Classes
MediaItem.LiveConfiguration.Builder
MediaItem.LocalConfiguration
MediaItem.PlaybackProperties
+MediaItem.RequestMetadata
+MediaItem.RequestMetadata.Builder
MediaItem.Subtitle
MediaItem.SubtitleConfiguration
MediaItem.SubtitleConfiguration.Builder
@@ -816,7 +827,6 @@ All Classes
NalUnitUtil.PpsData
NalUnitUtil.SpsData
NetworkTypeObserver
-NetworkTypeObserver.Config
NetworkTypeObserver.Listener
NonNullApi
NoOpCacheEvictor
@@ -846,11 +856,12 @@ All Classes
PesReader
PgsDecoder
PictureFrame
+PlaceholderDataSource
+PlaceholderSurface
PlatformScheduler
PlatformScheduler.PlatformSchedulerService
PlaybackException
PlaybackException.ErrorCode
-PlaybackException.FieldNumber
PlaybackOutput
PlaybackParameters
PlaybackSessionManager
@@ -895,6 +906,9 @@ All Classes
PlayerView
PlayerView.ShowBuffering
PositionHolder
+Presentation
+Presentation.Builder
+Presentation.Layout
PriorityDataSource
PriorityDataSource.Factory
PriorityDataSourceFactory
@@ -916,7 +930,6 @@ All Classes
RandomTrackSelection.Factory
RangedUri
Rating
-RawCcExtractor
RawResourceDataSource
RawResourceDataSource.RawResourceDataSourceException
Renderer
@@ -955,6 +968,7 @@ All Classes
RtpPayloadFormat
RtpPayloadReader
RtpPayloadReader.Factory
+RtpPcmReader
RtpUtils
RtspMediaSource
RtspMediaSource.Factory
@@ -967,6 +981,8 @@ All Classes
SampleStream
SampleStream.ReadDataResult
SampleStream.ReadFlags
+ScaleToFitTransformation
+ScaleToFitTransformation.Builder
Scheduler
SectionPayloadReader
SectionReader
@@ -1016,6 +1032,7 @@ All Classes
SimpleExoPlayer.Builder
SimpleMetadataDecoder
SimpleSubtitleDecoder
+SingleFrameGlTextureProcessor
SinglePeriodAdTimeline
SinglePeriodTimeline
SingleSampleMediaChunk
@@ -1073,6 +1090,8 @@ All Classes
StyledPlayerControlView.ProgressUpdateListener
StyledPlayerControlView.VisibilityListener
StyledPlayerView
+StyledPlayerView.ControllerVisibilityListener
+StyledPlayerView.FullscreenButtonClickListener
StyledPlayerView.ShowBuffering
SubripDecoder
Subtitle
@@ -1131,14 +1150,14 @@ All Classes
TrackOutput
TrackOutput.CryptoData
TrackOutput.SampleDataPart
+Tracks
+Tracks.Group
TrackSelection
TrackSelection.Type
TrackSelectionArray
TrackSelectionDialogBuilder
TrackSelectionDialogBuilder.DialogCallback
-TrackSelectionOverrides
-TrackSelectionOverrides.Builder
-TrackSelectionOverrides.TrackSelectionOverride
+TrackSelectionOverride
TrackSelectionParameters
TrackSelectionParameters.Builder
TrackSelectionUtil
@@ -1148,13 +1167,13 @@ All Classes
TrackSelector
TrackSelector.InvalidationListener
TrackSelectorResult
-TracksInfo
-TracksInfo.TrackGroupInfo
TransferListener
TransformationException
TransformationException.ErrorCode
TransformationRequest
TransformationRequest.Builder
+TransformationResult
+TransformationResult.Builder
Transformer
Transformer.Builder
Transformer.DebugViewProvider
@@ -1187,6 +1206,9 @@ All Classes
VideoDecoderGLSurfaceView
VideoDecoderOutputBuffer
VideoDecoderOutputBufferRenderer
+VideoEncoderSettings
+VideoEncoderSettings.BitrateMode
+VideoEncoderSettings.Builder
VideoFrameMetadataListener
VideoFrameReleaseHelper
VideoRendererEventListener
diff --git a/docs/doc/reference/allpackages-index.html b/docs/doc/reference/allpackages-index.html
index 8e0f17379bd..4dd05fd376f 100644
--- a/docs/doc/reference/allpackages-index.html
+++ b/docs/doc/reference/allpackages-index.html
@@ -192,35 +192,35 @@ All Packages
-com.google.android.exoplayer2.extractor.flac
+com.google.android.exoplayer2.extractor.avi
-com.google.android.exoplayer2.extractor.flv
+com.google.android.exoplayer2.extractor.flac
-com.google.android.exoplayer2.extractor.jpeg
+com.google.android.exoplayer2.extractor.flv
-com.google.android.exoplayer2.extractor.mkv
+com.google.android.exoplayer2.extractor.jpeg
-com.google.android.exoplayer2.extractor.mp3
+com.google.android.exoplayer2.extractor.mkv
-com.google.android.exoplayer2.extractor.mp4
+com.google.android.exoplayer2.extractor.mp3
-com.google.android.exoplayer2.extractor.ogg
+com.google.android.exoplayer2.extractor.mp4
-com.google.android.exoplayer2.extractor.rawcc
+com.google.android.exoplayer2.extractor.ogg
diff --git a/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html b/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html
index 21279d22488..4fdcfe84662 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html
@@ -189,7 +189,7 @@ Field Summary
Fields inherited from interface com.google.android.exoplayer2.Player
-COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACK_INFOS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
+COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACKS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEM , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
@@ -310,7 +310,9 @@ Method Summary
int
getCurrentWindowIndex ()
-Deprecated.
+Deprecated.
+
+
@@ -339,7 +341,9 @@ Method Summary
int
getNextWindowIndex ()
-Deprecated.
+Deprecated.
+
+
@@ -354,14 +358,18 @@ Method Summary
int
getPreviousWindowIndex ()
-Deprecated.
+Deprecated.
+
+
boolean
hasNext ()
-Deprecated.
+Deprecated.
+
+
@@ -376,14 +384,18 @@ Method Summary
boolean
hasNextWindow ()
-Deprecated.
+Deprecated.
+
+
boolean
hasPrevious ()
-Deprecated.
+Deprecated.
+
+
@@ -398,7 +410,9 @@ Method Summary
boolean
hasPreviousWindow ()
-Deprecated.
+Deprecated.
+
+
@@ -435,21 +449,27 @@ Method Summary
boolean
isCurrentWindowDynamic ()
-Deprecated.
+Deprecated.
+
+
boolean
isCurrentWindowLive ()
-Deprecated.
+Deprecated.
+
+
boolean
isCurrentWindowSeekable ()
-Deprecated.
+Deprecated.
+
+
@@ -471,7 +491,9 @@ Method Summary
void
next ()
-Deprecated.
+Deprecated.
+
+
@@ -492,7 +514,9 @@ Method Summary
void
previous ()
-Deprecated.
+Deprecated.
+
+
@@ -557,7 +581,9 @@ Method Summary
void
seekToNextWindow ()
-Deprecated.
+Deprecated.
+
+
@@ -579,7 +605,9 @@ Method Summary
void
seekToPreviousWindow ()
-Deprecated.
+Deprecated.
+
+
@@ -634,7 +662,7 @@ Methods inherited from class java.lang.Player
-addListener , addMediaItems , clearVideoSurface , clearVideoSurface , clearVideoSurfaceHolder , clearVideoSurfaceView , clearVideoTextureView , decreaseDeviceVolume , getApplicationLooper , getAudioAttributes , getAvailableCommands , getBufferedPosition , getContentBufferedPosition , getContentPosition , getCurrentAdGroupIndex , getCurrentAdIndexInAdGroup , getCurrentCues , getCurrentMediaItemIndex , getCurrentPeriodIndex , getCurrentPosition , getCurrentTimeline , getCurrentTrackGroups , getCurrentTrackSelections , getCurrentTracksInfo , getDeviceInfo , getDeviceVolume , getDuration , getMaxSeekToPreviousPosition , getMediaMetadata , getPlaybackParameters , getPlaybackState , getPlaybackSuppressionReason , getPlayerError , getPlaylistMetadata , getPlayWhenReady , getRepeatMode , getSeekBackIncrement , getSeekForwardIncrement , getShuffleModeEnabled , getTotalBufferedDuration , getTrackSelectionParameters , getVideoSize , getVolume , increaseDeviceVolume , isDeviceMuted , isLoading , isPlayingAd , moveMediaItems , prepare , release , removeListener , removeMediaItems , seekTo , setDeviceMuted , setDeviceVolume , setMediaItems , setMediaItems , setPlaybackParameters , setPlaylistMetadata , setPlayWhenReady , setRepeatMode , setShuffleModeEnabled , setTrackSelectionParameters , setVideoSurface , setVideoSurfaceHolder , setVideoSurfaceView , setVideoTextureView , setVolume , stop , stop
+addListener , addMediaItems , clearVideoSurface , clearVideoSurface , clearVideoSurfaceHolder , clearVideoSurfaceView , clearVideoTextureView , decreaseDeviceVolume , getApplicationLooper , getAudioAttributes , getAvailableCommands , getBufferedPosition , getContentBufferedPosition , getContentPosition , getCurrentAdGroupIndex , getCurrentAdIndexInAdGroup , getCurrentCues , getCurrentMediaItemIndex , getCurrentPeriodIndex , getCurrentPosition , getCurrentTimeline , getCurrentTracks , getDeviceInfo , getDeviceVolume , getDuration , getMaxSeekToPreviousPosition , getMediaMetadata , getPlaybackParameters , getPlaybackState , getPlaybackSuppressionReason , getPlayerError , getPlaylistMetadata , getPlayWhenReady , getRepeatMode , getSeekBackIncrement , getSeekForwardIncrement , getShuffleModeEnabled , getTotalBufferedDuration , getTrackSelectionParameters , getVideoSize , getVolume , increaseDeviceVolume , isDeviceMuted , isLoading , isPlayingAd , moveMediaItems , prepare , release , removeListener , removeMediaItems , seekTo , setDeviceMuted , setDeviceVolume , setMediaItems , setMediaItems , setPlaybackParameters , setPlaylistMetadata , setPlayWhenReady , setRepeatMode , setShuffleModeEnabled , setTrackSelectionParameters , setVideoSurface , setVideoSurfaceHolder , setVideoSurfaceView , setVideoTextureView , setVolume , stop , stop
@@ -911,7 +939,7 @@ canAdvertiseSession
public final boolean canAdvertiseSession()
Returns whether the player can be used to advertise a media session.
-
BasePlayer and its descendents will return true
.
+ BasePlayer and its descendants will return true
.
Specified by:
canAdvertiseSession
in interface Player
@@ -1070,7 +1098,9 @@ seekForward
hasPrevious
@Deprecated
public final boolean hasPrevious()
-Deprecated.
+Deprecated.
+
+
Specified by:
hasPrevious
in interface Player
@@ -1085,7 +1115,9 @@ hasPrevious
hasPreviousWindow
@Deprecated
public final boolean hasPreviousWindow()
-Deprecated.
+Deprecated.
+
+
Specified by:
hasPreviousWindow
in interface Player
@@ -1120,7 +1152,9 @@ hasPreviousMediaItem
previous
@Deprecated
public final void previous()
-Deprecated.
+Deprecated.
+
+
Specified by:
previous
in interface Player
@@ -1135,7 +1169,9 @@ previous
seekToPreviousWindow
@Deprecated
public final void seekToPreviousWindow()
-Deprecated.
+Deprecated.
+
+
Specified by:
seekToPreviousWindow
in interface Player
@@ -1199,7 +1235,9 @@ seekToPrevious
hasNext
@Deprecated
public final boolean hasNext()
-Deprecated.
+Deprecated.
+
+
Specified by:
hasNext
in interface Player
@@ -1214,7 +1252,9 @@ hasNext
hasNextWindow
@Deprecated
public final boolean hasNextWindow()
-Deprecated.
+Deprecated.
+
+
Specified by:
hasNextWindow
in interface Player
@@ -1249,7 +1289,9 @@ hasNextMediaItem
next
@Deprecated
public final void next()
-Deprecated.
+Deprecated.
+
+
Specified by:
next
in interface Player
@@ -1264,7 +1306,9 @@ next
seekToNextWindow
@Deprecated
public final void seekToNextWindow()
-Deprecated.
+Deprecated.
+
+
Specified by:
seekToNextWindow
in interface Player
@@ -1346,7 +1390,9 @@ setPlaybackSpeed
getCurrentWindowIndex
@Deprecated
public final int getCurrentWindowIndex()
-Deprecated.
+Deprecated.
+
+
Specified by:
getCurrentWindowIndex
in interface Player
@@ -1361,7 +1407,9 @@ getCurrentWindowIndex
getNextWindowIndex
@Deprecated
public final int getNextWindowIndex()
-Deprecated.
+Deprecated.
+
+
Specified by:
getNextWindowIndex
in interface Player
@@ -1397,7 +1445,9 @@ getNextMediaItemIndex
getPreviousWindowIndex
@Deprecated
public final int getPreviousWindowIndex()
-Deprecated.
+Deprecated.
+
+
Specified by:
getPreviousWindowIndex
in interface Player
@@ -1513,7 +1563,9 @@ getBufferedPercentage
isCurrentWindowDynamic
@Deprecated
public final boolean isCurrentWindowDynamic()
-Deprecated.
+Deprecated.
+
+
Specified by:
isCurrentWindowDynamic
in interface Player
@@ -1546,7 +1598,9 @@ isCurrentMediaItemDynamic
isCurrentWindowLive
@Deprecated
public final boolean isCurrentWindowLive()
-Deprecated.
+Deprecated.
+
+
Specified by:
isCurrentWindowLive
in interface Player
@@ -1602,7 +1656,9 @@ getCurrentLiveOffset
isCurrentWindowSeekable
@Deprecated
public final boolean isCurrentWindowSeekable()
-Deprecated.
+Deprecated.
+
+
Specified by:
isCurrentWindowSeekable
in interface Player
diff --git a/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html b/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html
index 440eeea7b16..dc1d3ecba46 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html
@@ -122,7 +122,7 @@ Interface Bundleable
All Known Implementing Classes:
-AbstractConcatenatedTimeline
, AdPlaybackState
, AdPlaybackState.AdGroup
, AudioAttributes
, ColorInfo
, Cue
, DefaultTrackSelector.Parameters
, DefaultTrackSelector.SelectionOverride
, DeviceInfo
, ExoPlaybackException
, FakeMediaSource.InitialTimeline
, FakeTimeline
, Format
, ForwardingTimeline
, HeartRating
, ImaServerSideAdInsertionMediaSource.AdsLoader.State
, MaskingMediaSource.PlaceholderTimeline
, MediaItem
, MediaItem.ClippingConfiguration
, MediaItem.ClippingProperties
, MediaItem.LiveConfiguration
, MediaMetadata
, NoUidTimeline
, PercentageRating
, PlaybackException
, PlaybackParameters
, Player.Commands
, Player.PositionInfo
, Rating
, SinglePeriodAdTimeline
, SinglePeriodTimeline
, StarRating
, ThumbRating
, Timeline
, Timeline.Period
, Timeline.RemotableTimeline
, Timeline.Window
, TrackGroup
, TrackGroupArray
, TrackSelectionOverrides
, TrackSelectionOverrides.TrackSelectionOverride
, TrackSelectionParameters
, TracksInfo
, TracksInfo.TrackGroupInfo
, VideoSize
+AbstractConcatenatedTimeline
, AdPlaybackState
, AdPlaybackState.AdGroup
, AudioAttributes
, ColorInfo
, Cue
, CueGroup
, DefaultTrackSelector.Parameters
, DefaultTrackSelector.SelectionOverride
, DeviceInfo
, ExoPlaybackException
, FakeMediaSource.InitialTimeline
, FakeTimeline
, Format
, ForwardingTimeline
, HeartRating
, ImaServerSideAdInsertionMediaSource.AdsLoader.State
, MaskingMediaSource.PlaceholderTimeline
, MediaItem
, MediaItem.ClippingConfiguration
, MediaItem.ClippingProperties
, MediaItem.LiveConfiguration
, MediaItem.RequestMetadata
, MediaMetadata
, NoUidTimeline
, PercentageRating
, PlaybackException
, PlaybackParameters
, Player.Commands
, Player.PositionInfo
, Rating
, SinglePeriodAdTimeline
, SinglePeriodTimeline
, StarRating
, ThumbRating
, Timeline
, Timeline.Period
, Timeline.RemotableTimeline
, Timeline.Window
, TrackGroup
, TrackGroupArray
, Tracks
, Tracks.Group
, TrackSelectionOverride
, TrackSelectionParameters
, VideoSize
public interface Bundleable
diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.AudioContentType.html b/docs/doc/reference/com/google/android/exoplayer2/C.AudioContentType.html
index 74ddc994f49..d4ae9cf586c 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/C.AudioContentType.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/C.AudioContentType.html
@@ -117,8 +117,15 @@
diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html b/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html
index 7a88951e9cc..fc3bd66d9de 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html
@@ -117,8 +117,8 @@ Annotation Type C.Buffer
@Retention (SOURCE )
@Target (TYPE_USE )
public static @interface C.BufferFlags
-
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html b/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html
index 2278c6de8c8..c255ce753e1 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html
@@ -117,7 +117,15 @@ Annotation Type C.Conten
@Retention (SOURCE )
@Target ({FIELD ,METHOD ,PARAMETER ,LOCAL_VARIABLE ,TYPE_USE })
public static @interface C.ContentType
-
+Represents a streaming or other media type. One of:
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.html b/docs/doc/reference/com/google/android/exoplayer2/C.html
index 729247c11ca..0a0e38ae65e 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/C.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/C.html
@@ -398,39 +398,81 @@ Field Summary
static int
+AUDIO_CONTENT_TYPE_MOVIE
+
+
+
+
+
+static int
+AUDIO_CONTENT_TYPE_MUSIC
+
+
+
+
+
+static int
+AUDIO_CONTENT_TYPE_SONIFICATION
+
+
+
+
+
+static int
+AUDIO_CONTENT_TYPE_SPEECH
+
+
+
+
+
+static int
+AUDIO_CONTENT_TYPE_UNKNOWN
+
+
+
+
+
+static int
AUDIO_SESSION_ID_UNSET
Represents an unset
AudioTrack
session identifier.
-
+
static int
BITS_PER_BYTE
The number of bits per byte.
-
+
static int
BUFFER_FLAG_DECODE_ONLY
Indicates that a buffer should be decoded but not rendered.
-
+
static int
BUFFER_FLAG_ENCRYPTED
Indicates that a buffer is (at least partially) encrypted.
-
+
static int
BUFFER_FLAG_END_OF_STREAM
Flag for empty buffers that signal that the end of the stream was reached.
+
+static int
+BUFFER_FLAG_FIRST_SAMPLE
+
+Indicates that a buffer is known to contain the first media sample of the stream.
+
+
static int
BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA
@@ -544,45 +586,100 @@ Field Summary
static int
+CONTENT_TYPE_DASH
+
+Value representing a DASH manifest.
+
+
+
+static int
+CONTENT_TYPE_HLS
+
+Value representing an HLS manifest.
+
+
+
+static int
CONTENT_TYPE_MOVIE
-
+
+Deprecated.
+
+
+
static int
CONTENT_TYPE_MUSIC
-
+
+Deprecated.
+
+
+
+
+
+static int
+CONTENT_TYPE_OTHER
+
+Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.
+
+
+
+static int
+CONTENT_TYPE_RTSP
+
+Value representing an RTSP stream.
+
static int
CONTENT_TYPE_SONIFICATION
-
+
+Deprecated.
+
+
+
static int
CONTENT_TYPE_SPEECH
-
+
+Deprecated.
+
+
+
static int
-CONTENT_TYPE_UNKNOWN
-
+CONTENT_TYPE_SS
+
+Value representing a Smooth Streaming manifest.
+
static int
+CONTENT_TYPE_UNKNOWN
+
+Deprecated.
+
+
+
+
+
+static int
CRYPTO_MODE_AES_CBC
-
+
static int
CRYPTO_MODE_AES_CTR
-
+
static int
CRYPTO_MODE_UNENCRYPTED
-
+
static int
CRYPTO_TYPE_CUSTOM_BASE
@@ -590,35 +687,35 @@ Field Summary
equal to this value.
-
+
static int
CRYPTO_TYPE_FRAMEWORK
-
+
static int
CRYPTO_TYPE_NONE
No crypto.
-
+
static int
CRYPTO_TYPE_UNSUPPORTED
An unsupported crypto type.
-
+
static int
DATA_TYPE_AD
A data type constant for ads loader data.
-
+
static int
DATA_TYPE_CUSTOM_BASE
@@ -626,63 +723,63 @@ Field Summary
equal to this value.
-
+
static int
DATA_TYPE_DRM
A data type constant for drm or encryption data.
-
+
static int
DATA_TYPE_MANIFEST
A data type constant for a manifest file.
-
+
static int
DATA_TYPE_MEDIA
A data type constant for media, typically containing media samples.
-
+
static int
DATA_TYPE_MEDIA_INITIALIZATION
A data type constant for media, typically containing only initialization data.
-
+
static int
DATA_TYPE_MEDIA_PROGRESSIVE_LIVE
A data type constant for live progressive media streams, typically containing media samples.
-
+
static int
DATA_TYPE_TIME_SYNCHRONIZATION
A data type constant for time synchronization data.
-
+
static int
DATA_TYPE_UNKNOWN
A data type constant for data of unknown or unspecified type.
-
+
static int
DEFAULT_BUFFER_SEGMENT_SIZE
A default size in bytes for an individual allocation that forms part of a larger buffer.
-
+
static long
DEFAULT_MAX_SEEK_TO_PREVIOUS_POSITION_MS
@@ -690,139 +787,139 @@ Field Summary
milliseconds.
-
+
static long
DEFAULT_SEEK_BACK_INCREMENT_MS
A default seek back increment, in milliseconds.
-
+
static long
DEFAULT_SEEK_FORWARD_INCREMENT_MS
A default seek forward increment, in milliseconds.
-
+
static int
ENCODING_AAC_ELD
-
+
static int
ENCODING_AAC_ER_BSAC
AAC Error Resilient Bit-Sliced Arithmetic Coding.
-
+
static int
ENCODING_AAC_HE_V1
-
+
static int
ENCODING_AAC_HE_V2
-
+
static int
ENCODING_AAC_LC
-
+
static int
ENCODING_AAC_XHE
-
+
static int
ENCODING_AC3
-
+
static int
ENCODING_AC4
-
+
static int
ENCODING_DOLBY_TRUEHD
-
+
static int
ENCODING_DTS
-
+
static int
ENCODING_DTS_HD
-
+
static int
ENCODING_E_AC3
-
+
static int
ENCODING_E_AC3_JOC
-
+
static int
ENCODING_INVALID
-
+
static int
ENCODING_MP3
-
+
static int
ENCODING_PCM_16BIT
-
+
static int
ENCODING_PCM_16BIT_BIG_ENDIAN
-
+
static int
ENCODING_PCM_24BIT
PCM encoding with 24 bits per sample.
-
+
static int
ENCODING_PCM_32BIT
PCM encoding with 32 bits per sample.
-
+
static int
ENCODING_PCM_8BIT
-
+
static int
ENCODING_PCM_FLOAT
-
+
static int
FLAG_AUDIBILITY_ENFORCED
-
+
static int
FORMAT_EXCEEDS_CAPABILITIES
@@ -830,14 +927,14 @@ Field Summary
properties of the format exceed the renderer's capabilities.
-
+
static int
FORMAT_HANDLED
The Renderer
is capable of rendering the format.
-
+
static int
FORMAT_UNSUPPORTED_DRM
@@ -845,7 +942,7 @@ Field Summary
capable of rendering the format because the format's drm protection is not supported.
-
+
static int
FORMAT_UNSUPPORTED_SUBTYPE
@@ -854,7 +951,7 @@ Field Summary
sub-type is not supported.
-
+
static int
FORMAT_UNSUPPORTED_TYPE
@@ -862,14 +959,14 @@ Field Summary
the format's top-level type, or because it's a specialized renderer for a different MIME type.
-
+
static int
INDEX_UNSET
Represents an unset or unknown index.
-
+
static String
ISO88591_NAME
@@ -878,188 +975,195 @@ Field Summary
-
+
static String
LANGUAGE_UNDETERMINED
Represents an undetermined language as an ISO 639-2 language code.
-
+
static int
LENGTH_UNSET
Represents an unset or unknown length.
-
+
static long
MICROS_PER_SECOND
The number of microseconds in one second.
-
+
static long
MILLIS_PER_SECOND
The number of milliseconds in one second.
-
+
static long
NANOS_PER_SECOND
The number of nanoseconds in one second.
-
+
static int
NETWORK_TYPE_2G
Network type for a 2G cellular connection.
-
+
static int
NETWORK_TYPE_3G
Network type for a 3G cellular connection.
-
+
static int
NETWORK_TYPE_4G
Network type for a 4G cellular connection.
-
+
static int
NETWORK_TYPE_5G_NSA
Network type for a 5G non-stand-alone (NSA) cellular connection.
-
+
static int
NETWORK_TYPE_5G_SA
Network type for a 5G stand-alone (SA) cellular connection.
-
+
static int
NETWORK_TYPE_CELLULAR_UNKNOWN
-
+
static int
NETWORK_TYPE_ETHERNET
Network type for an Ethernet connection.
-
+
static int
NETWORK_TYPE_OFFLINE
No network connection.
-
+
static int
NETWORK_TYPE_OTHER
Network type for other connections which are not Wifi or cellular (e.g.
-
+
static int
NETWORK_TYPE_UNKNOWN
Unknown network type.
-
+
static int
NETWORK_TYPE_WIFI
Network type for a Wifi connection.
-
+
static int
PERCENTAGE_UNSET
Represents an unset or unknown percentage.
-
+
static UUID
PLAYREADY_UUID
UUID for the PlayReady DRM scheme.
-
+
static int
POSITION_UNSET
Represents an unset or unknown position.
-
+
static int
PRIORITY_DOWNLOAD
Priority for media downloading.
-
+
static int
PRIORITY_PLAYBACK
Priority for media playback.
-
+
static int
PROJECTION_CUBEMAP
Cube map projection.
-
+
static int
PROJECTION_EQUIRECTANGULAR
Equirectangular spherical projection.
-
+
static int
PROJECTION_MESH
3-D mesh projection.
-
+
static int
PROJECTION_RECTANGULAR
Conventional rectangular projection.
-
+
static float
RATE_UNSET
Represents an unset or unknown rate.
+
+static int
+RATE_UNSET_INT
+
+Represents an unset or unknown integer rate.
+
+
static int
RESULT_BUFFER_READ
@@ -1284,16 +1388,12 @@ Field Summary
static int
SPATIALIZATION_BEHAVIOR_AUTO
-
-See AudioAttributes#SPATIALIZATION_BEHAVIOR_AUTO
-
+
static int
SPATIALIZATION_BEHAVIOR_NEVER
-
-See AudioAttributes#SPATIALIZATION_BEHAVIOR_NEVER
-
+
static String
@@ -1462,36 +1562,45 @@ Field Summary
static int
TYPE_DASH
-
+Deprecated.
+
+
static int
TYPE_HLS
-
+Deprecated.
+
+
static int
TYPE_OTHER
-
+Deprecated.
+
+
static int
TYPE_RTSP
-
+Deprecated.
+
+
static int
TYPE_SS
-
+Deprecated.
+
+
@@ -1853,6 +1962,20 @@ RATE_UNSET
+
+
+
+
@@ -2492,10 +2615,10 @@ ENCODING_DOLBY_TRUEHD
SPATIALIZATION_BEHAVIOR_AUTO
public static final int SPATIALIZATION_BEHAVIOR_AUTO
-See AudioAttributes#SPATIALIZATION_BEHAVIOR_AUTO
See Also:
-Constant Field Values
+AudioAttributes.SPATIALIZATION_BEHAVIOR_AUTO
,
+Constant Field Values
@@ -2506,10 +2629,10 @@ SPATIALIZATION_BEHAVIOR_AUTO
SPATIALIZATION_BEHAVIOR_NEVER
public static final int SPATIALIZATION_BEHAVIOR_NEVER
-See AudioAttributes#SPATIALIZATION_BEHAVIOR_NEVER
See Also:
-Constant Field Values
+AudioAttributes.SPATIALIZATION_BEHAVIOR_NEVER
,
+Constant Field Values
@@ -2625,17 +2748,48 @@ STREAM_TYPE_DEFAULT
+
+
+
+
+
+
+
+
@@ -2645,11 +2799,28 @@ CONTENT_TYPE_MOVIE
+
+
+
+
@@ -2659,11 +2830,28 @@ CONTENT_TYPE_MUSIC
+
+
+
+
@@ -2673,11 +2861,28 @@ CONTENT_TYPE_SONIFICATION
+
+
+
+
@@ -2687,11 +2892,14 @@ CONTENT_TYPE_SPEECH
@@ -3003,6 +3211,20 @@ BUFFER_FLAG_END_OF_STREAM
+
+
+
+
@@ -3234,71 +3456,155 @@ LANGUAGE_UNDETERMINED
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+CONTENT_TYPE_OTHER
+public static final int CONTENT_TYPE_OTHER
+Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.
+
+See Also:
+Constant Field Values
+
+
+
DefaultRenderersFactory
-experimentalSetImmediateCodecStartAfterFlushEnabled (boolean enabled)
-
-
-
-
-
-DefaultRenderersFactory
experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled (boolean enabled)
Enable synchronizing codec interactions with asynchronous buffer queueing.
-
+
DefaultRenderersFactory
forceDisableMediaCodecAsynchronousQueueing ()
@@ -370,7 +362,7 @@ Method Summary
operating their MediaCodec
in asynchronous mode and perform asynchronous queueing.
-
+
DefaultRenderersFactory
forceEnableMediaCodecAsynchronousQueueing ()
@@ -378,14 +370,14 @@ Method Summary
operate their MediaCodec
in asynchronous mode and perform asynchronous queueing.
-
+
protected MediaCodecAdapter.Factory
getCodecAdapterFactory ()
-
+
DefaultRenderersFactory
setAllowedVideoJoiningTimeMs (long allowedVideoJoiningTimeMs)
@@ -393,21 +385,21 @@ Method Summary
playback.
-
+
DefaultRenderersFactory
setEnableAudioFloatOutput (boolean enableFloatOutput)
Sets whether floating point audio should be output when possible.
-
+
DefaultRenderersFactory
setEnableAudioOffload (boolean enableOffload)
Sets whether audio should be played using the offload path.
-
+
DefaultRenderersFactory
setEnableAudioTrackPlaybackParams (boolean enableAudioTrackPlaybackParams)
@@ -415,14 +407,14 @@ Method Summary
23, rather than using application-level audio speed adjustment.
-
+
DefaultRenderersFactory
setEnableDecoderFallback (boolean enableDecoderFallback)
Sets whether to enable fallback to lower-priority decoders if decoder initialization fails.
-
+
DefaultRenderersFactory
setExtensionRendererMode (@com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int extensionRendererMode)
@@ -430,7 +422,7 @@ Method Summary
used.
-
+
DefaultRenderersFactory
setMediaCodecSelector (MediaCodecSelector mediaCodecSelector)
@@ -644,28 +636,6 @@ experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled
-
-
-
-
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ExoPlaybackException.html b/docs/doc/reference/com/google/android/exoplayer2/ExoPlaybackException.html
index 5be48727dcf..a861cfbd9bc 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ExoPlaybackException.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ExoPlaybackException.html
@@ -188,7 +188,7 @@ Nested Class Summary
Nested classes/interfaces inherited from class com.google.android.exoplayer2.PlaybackException
-PlaybackException.ErrorCode , PlaybackException.FieldNumber
+PlaybackException.ErrorCode
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.Builder.html
index fdb7b7c8f81..a895b9bf713 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.Builder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.Builder.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -376,20 +376,27 @@ Method Summary
ExoPlayer.Builder
+setUsePlatformDiagnostics (boolean usePlatformDiagnostics)
+
+Sets whether the player reports diagnostics data to the Android platform.
+
+
+
+ExoPlayer.Builder
setVideoChangeFrameRateStrategy (@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)
-
+
ExoPlayer.Builder
setVideoScalingMode (@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)
-
+
ExoPlayer.Builder
setWakeMode (@com.google.android.exoplayer2.C.WakeMode int wakeMode)
@@ -460,6 +467,7 @@ Builder
releaseTimeoutMs
: ExoPlayer.DEFAULT_RELEASE_TIMEOUT_MS
detachSurfaceTimeoutMs
: ExoPlayer.DEFAULT_DETACH_SURFACE_TIMEOUT_MS
pauseAtEndOfMediaItems
: false
+ usePlatformDiagnostics
: true
Clock
: Clock.DEFAULT
@@ -1035,6 +1043,31 @@ setLivePlaybackSpeedControl
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.TextComponent.html b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.TextComponent.html
index d6a580a8c85..b20b2ba52ed 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.TextComponent.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.TextComponent.html
@@ -156,7 +156,7 @@ Method Summary
Description
-List <Cue >
+CueGroup
getCurrentCues ()
Deprecated.
@@ -188,7 +188,7 @@
Method Detail
getCurrentCues
@Deprecated
-List <Cue > getCurrentCues()
+CueGroup getCurrentCues()
Deprecated.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.html
index 3c7c1f4336c..b5928bb28e4 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":38,"i14":6,"i15":6,"i16":6,"i17":6,"i18":38,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":38,"i28":6,"i29":6,"i30":38,"i31":6,"i32":6,"i33":6,"i34":38,"i35":38,"i36":6,"i37":6,"i38":38,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":38,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6};
+var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":38,"i14":6,"i15":6,"i16":6,"i17":6,"i18":38,"i19":38,"i20":38,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":38,"i30":6,"i31":6,"i32":38,"i33":6,"i34":6,"i35":6,"i36":38,"i37":38,"i38":6,"i39":6,"i40":38,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":38,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -325,7 +325,7 @@ Field Summary
Fields inherited from interface com.google.android.exoplayer2.Player
-COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACK_INFOS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
+
COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACKS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEM , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
@@ -476,6 +476,24 @@
Method Summary
+TrackGroupArray
+getCurrentTrackGroups ()
+
+Deprecated.
+
+
+
+
+
+TrackSelectionArray
+getCurrentTrackSelections ()
+
+Deprecated.
+
+
+
+
+
ExoPlayer.DeviceComponent
getDeviceComponent ()
@@ -485,21 +503,21 @@ Method Summary
-
+
boolean
getPauseAtEndOfMediaItems ()
Returns whether the player pauses playback at the end of each media item.
-
+
Looper
getPlaybackLooper ()
Returns the
Looper
associated with the playback thread.
-
+
ExoPlaybackException
getPlayerError ()
@@ -507,42 +525,42 @@ Method Summary
ExoPlaybackException
.
-
+
Renderer
getRenderer (int index)
Returns the renderer at the given index.
-
+
int
getRendererCount ()
Returns the number of renderers.
-
+
@com.google.android.exoplayer2.C.TrackType int
getRendererType (int index)
Returns the track type that the renderer at a given index handles.
-
+
SeekParameters
getSeekParameters ()
-
+
boolean
getSkipSilenceEnabled ()
Returns whether skipping silences in the audio stream is enabled.
-
+
ExoPlayer.TextComponent
getTextComponent ()
@@ -552,21 +570,21 @@ Method Summary
-
+
TrackSelector
getTrackSelector ()
Returns the track selector that this player uses, or null if track selection is not supported.
-
+
@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int
getVideoChangeFrameRateStrategy ()
-
+
ExoPlayer.VideoComponent
getVideoComponent ()
@@ -576,28 +594,28 @@ Method Summary
-
+
DecoderCounters
getVideoDecoderCounters ()
-
+
Format
getVideoFormat ()
Returns the video format currently being played, or null if no video is being played.
-
+
@com.google.android.exoplayer2.C.VideoScalingMode int
getVideoScalingMode ()
-
+
void
prepare (MediaSource mediaSource)
@@ -606,7 +624,7 @@ Method Summary
-
+
void
prepare (MediaSource mediaSource,
boolean resetPosition,
@@ -617,21 +635,21 @@ Method Summary
-
+
void
removeAnalyticsListener (AnalyticsListener listener)
-
+
void
removeAudioOffloadListener (ExoPlayer.AudioOffloadListener listener)
Removes a listener of audio offload events.
-
+
void
retry ()
@@ -640,7 +658,7 @@ Method Summary
-
+
void
setAudioAttributes (AudioAttributes audioAttributes,
boolean handleAudioFocus)
@@ -648,28 +666,28 @@ Method Summary
Sets the attributes for audio playback, used by the underlying audio track.
-
+
void
setAudioSessionId (int audioSessionId)
Sets the ID of the audio session to attach to the underlying
AudioTrack
.
-
+
void
setAuxEffectInfo (AuxEffectInfo auxEffectInfo)
Sets information on an auxiliary audio effect to attach to the underlying audio track.
-
+
void
setCameraMotionListener (CameraMotionListener listener)
Sets a listener of camera motion events.
-
+
void
setForegroundMode (boolean foregroundMode)
@@ -677,7 +695,7 @@ Method Summary
even when in the idle state.
-
+
void
setHandleAudioBecomingNoisy (boolean handleAudioBecomingNoisy)
@@ -685,7 +703,7 @@ Method Summary
device speakers.
-
+
void
setHandleWakeLock (boolean handleWakeLock)
@@ -694,7 +712,7 @@ Method Summary
-
+
void
setMediaSource (MediaSource mediaSource)
@@ -702,7 +720,7 @@ Method Summary
default position.
-
+
void
setMediaSource (MediaSource mediaSource,
boolean resetPosition)
@@ -710,7 +728,7 @@ Method Summary
Clears the playlist and adds the specified
MediaSource
.
-
+
void
setMediaSource (MediaSource mediaSource,
long startPositionMs)
@@ -718,7 +736,7 @@ Method Summary
Clears the playlist and adds the specified
MediaSource
.
-
+
void
setMediaSources (List <MediaSource > mediaSources)
@@ -726,7 +744,7 @@ Method Summary
position to the default position.
-
+
void
setMediaSources (List <MediaSource > mediaSources,
boolean resetPosition)
@@ -734,7 +752,7 @@ Method Summary
-
+
void
setMediaSources (List <MediaSource > mediaSources,
int startMediaItemIndex,
@@ -743,42 +761,42 @@ Method Summary
-
+
void
setPauseAtEndOfMediaItems (boolean pauseAtEndOfMediaItems)
Sets whether to pause playback at the end of each media item.
-
+
void
setPriorityTaskManager (PriorityTaskManager priorityTaskManager)
-
+
void
setSeekParameters (SeekParameters seekParameters)
Sets the parameters that control how seek operations are performed.
-
+
void
setShuffleOrder (ShuffleOrder shuffleOrder)
Sets the shuffle order.
-
+
void
setSkipSilenceEnabled (boolean skipSilenceEnabled)
Sets whether skipping silences in the audio stream is enabled.
-
+
void
setVideoChangeFrameRateStrategy (@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)
@@ -786,21 +804,21 @@ Method Summary
with a video output Surface
.
-
+
void
setVideoFrameMetadataListener (VideoFrameMetadataListener listener)
Sets a listener to receive video frame metadata events.
-
+
void
setVideoScalingMode (@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)
-
+
void
setWakeMode (@com.google.android.exoplayer2.C.WakeMode int wakeMode)
@@ -813,7 +831,7 @@ Method Summary
Methods inherited from interface com.google.android.exoplayer2.Player
-addListener , addMediaItem , addMediaItem , addMediaItems , addMediaItems , canAdvertiseSession , clearMediaItems , clearVideoSurface , clearVideoSurface , clearVideoSurfaceHolder , clearVideoSurfaceView , clearVideoTextureView , decreaseDeviceVolume , getApplicationLooper , getAudioAttributes , getAvailableCommands , getBufferedPercentage , getBufferedPosition , getContentBufferedPosition , getContentDuration , getContentPosition , getCurrentAdGroupIndex , getCurrentAdIndexInAdGroup , getCurrentCues , getCurrentLiveOffset , getCurrentManifest , getCurrentMediaItem , getCurrentMediaItemIndex , getCurrentPeriodIndex , getCurrentPosition , getCurrentTimeline , getCurrentTrackGroups , getCurrentTrackSelections , getCurrentTracksInfo , getCurrentWindowIndex , getDeviceInfo , getDeviceVolume , getDuration , getMaxSeekToPreviousPosition , getMediaItemAt , getMediaItemCount , getMediaMetadata , getNextMediaItemIndex , getNextWindowIndex , getPlaybackParameters , getPlaybackState , getPlaybackSuppressionReason , getPlaylistMetadata , getPlayWhenReady , getPreviousMediaItemIndex , getPreviousWindowIndex , getRepeatMode , getSeekBackIncrement , getSeekForwardIncrement , getShuffleModeEnabled , getTotalBufferedDuration , getTrackSelectionParameters , getVideoSize , getVolume , hasNext , hasNextMediaItem , hasNextWindow , hasPrevious , hasPreviousMediaItem , hasPreviousWindow , increaseDeviceVolume , isCommandAvailable , isCurrentMediaItemDynamic , isCurrentMediaItemLive , isCurrentMediaItemSeekable , isCurrentWindowDynamic , isCurrentWindowLive , isCurrentWindowSeekable , isDeviceMuted , isLoading , isPlaying , isPlayingAd , moveMediaItem , moveMediaItems , next , pause , play , prepare , previous , release , removeListener , removeMediaItem , removeMediaItems , seekBack , seekForward , seekTo , seekTo , seekToDefaultPosition , seekToDefaultPosition , seekToNext , seekToNextMediaItem , seekToNextWindow , seekToPrevious , seekToPreviousMediaItem , seekToPreviousWindow , setDeviceMuted , setDeviceVolume , setMediaItem , setMediaItem , setMediaItem , setMediaItems , setMediaItems , setMediaItems , setPlaybackParameters , setPlaybackSpeed , setPlaylistMetadata , setPlayWhenReady , setRepeatMode , setShuffleModeEnabled , setTrackSelectionParameters , setVideoSurface , setVideoSurfaceHolder , setVideoSurfaceView , setVideoTextureView , setVolume , stop , stop
+addListener , addMediaItem , addMediaItem , addMediaItems , addMediaItems , canAdvertiseSession , clearMediaItems , clearVideoSurface , clearVideoSurface , clearVideoSurfaceHolder , clearVideoSurfaceView , clearVideoTextureView , decreaseDeviceVolume , getApplicationLooper , getAudioAttributes , getAvailableCommands , getBufferedPercentage , getBufferedPosition , getContentBufferedPosition , getContentDuration , getContentPosition , getCurrentAdGroupIndex , getCurrentAdIndexInAdGroup , getCurrentCues , getCurrentLiveOffset , getCurrentManifest , getCurrentMediaItem , getCurrentMediaItemIndex , getCurrentPeriodIndex , getCurrentPosition , getCurrentTimeline , getCurrentTracks , getCurrentWindowIndex , getDeviceInfo , getDeviceVolume , getDuration , getMaxSeekToPreviousPosition , getMediaItemAt , getMediaItemCount , getMediaMetadata , getNextMediaItemIndex , getNextWindowIndex , getPlaybackParameters , getPlaybackState , getPlaybackSuppressionReason , getPlaylistMetadata , getPlayWhenReady , getPreviousMediaItemIndex , getPreviousWindowIndex , getRepeatMode , getSeekBackIncrement , getSeekForwardIncrement , getShuffleModeEnabled , getTotalBufferedDuration , getTrackSelectionParameters , getVideoSize , getVolume , hasNext , hasNextMediaItem , hasNextWindow , hasPrevious , hasPreviousMediaItem , hasPreviousWindow , increaseDeviceVolume , isCommandAvailable , isCurrentMediaItemDynamic , isCurrentMediaItemLive , isCurrentMediaItemSeekable , isCurrentWindowDynamic , isCurrentWindowLive , isCurrentWindowSeekable , isDeviceMuted , isLoading , isPlaying , isPlayingAd , moveMediaItem , moveMediaItems , next , pause , play , prepare , previous , release , removeListener , removeMediaItem , removeMediaItems , seekBack , seekForward , seekTo , seekTo , seekToDefaultPosition , seekToDefaultPosition , seekToNext , seekToNextMediaItem , seekToNextWindow , seekToPrevious , seekToPreviousMediaItem , seekToPreviousWindow , setDeviceMuted , setDeviceVolume , setMediaItem , setMediaItem , setMediaItem , setMediaItems , setMediaItems , setMediaItems , setPlaybackParameters , setPlaybackSpeed , setPlaylistMetadata , setPlayWhenReady , setRepeatMode , setShuffleModeEnabled , setTrackSelectionParameters , setVideoSurface , setVideoSurfaceHolder , setVideoSurfaceView , setVideoTextureView , setVolume , stop , stop
@@ -1072,6 +1090,43 @@ getTrackSelector
Returns the track selector that this player uses, or null if track selection is not supported.
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html
index d63359e05af..570fc0f845c 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":42,"i32":42,"i33":10,"i34":42,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":42,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":42,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":42,"i62":10,"i63":42,"i64":42,"i65":10,"i66":42,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":42,"i73":42,"i74":42,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":42,"i82":10,"i83":10,"i84":10,"i85":42,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":42,"i99":10,"i100":10,"i101":42,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":42};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":42,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":42,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":42,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":42,"i60":10,"i61":42,"i62":42,"i63":10,"i64":42,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":42,"i71":42,"i72":42,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":42,"i80":10,"i81":10,"i82":10,"i83":42,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":42,"i97":10,"i98":10,"i99":42,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":42};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -173,7 +173,7 @@ Field Summary
Fields inherited from interface com.google.android.exoplayer2.Player
-COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACK_INFOS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
+COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACKS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEM , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
@@ -379,7 +379,7 @@ Method Summary
-List <Cue >
+CueGroup
getCurrentCues ()
@@ -435,342 +435,348 @@ Method Summary
-TrackGroupArray
-getCurrentTrackGroups ()
+Tracks
+getCurrentTracks ()
-Deprecated.
+
-TrackSelectionArray
-getCurrentTrackSelections ()
-
-Deprecated.
-
-
-
-TracksInfo
-getCurrentTracksInfo ()
-
-
-
-
-
int
getCurrentWindowIndex ()
-Deprecated.
+Deprecated.
+
+
-
+
DeviceInfo
getDeviceInfo ()
-
+
int
getDeviceVolume ()
-
+
long
getDuration ()
-
+
long
getMaxSeekToPreviousPosition ()
-
+
MediaItem
getMediaItemAt (int index)
-
+
int
getMediaItemCount ()
-
+
MediaMetadata
getMediaMetadata ()
-
+
int
getNextMediaItemIndex ()
-
+
int
getNextWindowIndex ()
-Deprecated.
+Deprecated.
+
+
-
+
PlaybackParameters
getPlaybackParameters ()
-
+
int
getPlaybackState ()
-
+
int
getPlaybackSuppressionReason ()
-
+
PlaybackException
getPlayerError ()
-
+
MediaMetadata
getPlaylistMetadata ()
-
+
boolean
getPlayWhenReady ()
-
+
int
getPreviousMediaItemIndex ()
-
+
int
getPreviousWindowIndex ()
-Deprecated.
+Deprecated.
+
+
-
+
int
getRepeatMode ()
-
+
long
getSeekBackIncrement ()
-
+
long
getSeekForwardIncrement ()
-
+
boolean
getShuffleModeEnabled ()
-
+
long
getTotalBufferedDuration ()
-
+
TrackSelectionParameters
getTrackSelectionParameters ()
-
+
VideoSize
getVideoSize ()
-
+
float
getVolume ()
-
+
Player
getWrappedPlayer ()
Returns the
Player
to which operations are forwarded.
-
+
boolean
hasNext ()
-Deprecated.
+Deprecated.
+
+
-
+
boolean
hasNextMediaItem ()
-
+
boolean
hasNextWindow ()
-Deprecated.
+Deprecated.
+
+
-
+
boolean
hasPrevious ()
-Deprecated.
+Deprecated.
+
+
-
+
boolean
hasPreviousMediaItem ()
-
+
boolean
hasPreviousWindow ()
-Deprecated.
+Deprecated.
+
+
-
+
void
increaseDeviceVolume ()
-
+
boolean
isCommandAvailable (@com.google.android.exoplayer2.Player.Command int command)
-
+
boolean
isCurrentMediaItemDynamic ()
-
+
boolean
isCurrentMediaItemLive ()
-
+
boolean
isCurrentMediaItemSeekable ()
-
+
boolean
isCurrentWindowDynamic ()
-Deprecated.
+Deprecated.
+
+
-
+
boolean
isCurrentWindowLive ()
-Deprecated.
+Deprecated.
+
+
-
+
boolean
isCurrentWindowSeekable ()
-Deprecated.
+Deprecated.
+
+
-
+
boolean
isDeviceMuted ()
-
+
boolean
isLoading ()
-
+
boolean
isPlaying ()
-
+
boolean
isPlayingAd ()
-
+
void
moveMediaItem (int currentIndex,
int newIndex)
@@ -778,7 +784,7 @@ Method Summary
-
+
void
moveMediaItems (int fromIndex,
int toIndex,
@@ -787,63 +793,67 @@ Method Summary
-
+
void
next ()
-Deprecated.
+Deprecated.
+
+
-
+
void
pause ()
-
+
void
play ()
-
+
void
prepare ()
-
+
void
previous ()
-Deprecated.
+Deprecated.
+
+
-
+
void
release ()
-
+
void
removeListener (Player.Listener listener)
-
+
void
removeMediaItem (int index)
-
+
void
removeMediaItems (int fromIndex,
int toIndex)
@@ -851,21 +861,21 @@ Method Summary
-
+
void
seekBack ()
-
+
void
seekForward ()
-
+
void
seekTo (int mediaItemIndex,
long positionMs)
@@ -873,91 +883,95 @@ Method Summary
-
+
void
seekTo (long positionMs)
-
+
void
seekToDefaultPosition ()
-
+
void
seekToDefaultPosition (int mediaItemIndex)
-
+
void
seekToNext ()
-
+
void
seekToNextMediaItem ()
-
+
void
seekToNextWindow ()
-Deprecated.
+Deprecated.
+
+
-
+
void
seekToPrevious ()
-
+
void
seekToPreviousMediaItem ()
-
+
void
seekToPreviousWindow ()
-Deprecated.
+Deprecated.
+
+
-
+
void
setDeviceMuted (boolean muted)
-
+
void
setDeviceVolume (int volume)
-
+
void
setMediaItem (MediaItem mediaItem)
-
+
void
setMediaItem (MediaItem mediaItem,
boolean resetPosition)
@@ -965,7 +979,7 @@ Method Summary
-
+
void
setMediaItem (MediaItem mediaItem,
long startPositionMs)
@@ -973,14 +987,14 @@ Method Summary
-
+
void
setMediaItems (List <MediaItem > mediaItems)
-
+
void
setMediaItems (List <MediaItem > mediaItems,
boolean resetPosition)
@@ -988,7 +1002,7 @@ Method Summary
-
+
void
setMediaItems (List <MediaItem > mediaItems,
int startIndex,
@@ -997,102 +1011,105 @@ Method Summary
-
+
void
setPlaybackParameters (PlaybackParameters playbackParameters)
-
+
void
setPlaybackSpeed (float speed)
-
+
void
setPlaylistMetadata (MediaMetadata mediaMetadata)
-
+
void
setPlayWhenReady (boolean playWhenReady)
-
+
void
setRepeatMode (@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)
-
+
void
setShuffleModeEnabled (boolean shuffleModeEnabled)
-
+
void
setTrackSelectionParameters (TrackSelectionParameters parameters)
-
+
void
setVideoSurface (Surface surface)
-
+
void
setVideoSurfaceHolder (SurfaceHolder surfaceHolder)
-
+
void
setVideoSurfaceView (SurfaceView surfaceView)
-
+
void
setVideoTextureView (TextureView textureView)
-
+
void
setVolume (float volume)
-
+
void
stop ()
-
+
void
stop (boolean reset)
-Deprecated.
+Deprecated.
+
+
@@ -1884,7 +1901,9 @@ seekForward
hasPrevious
@Deprecated
public boolean hasPrevious()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -1900,7 +1919,9 @@ hasPrevious
hasPreviousWindow
@Deprecated
public boolean hasPreviousWindow()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -1930,7 +1951,9 @@ hasPreviousMediaItem
previous
@Deprecated
public void previous()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -1946,7 +1969,9 @@ previous
seekToPreviousWindow
@Deprecated
public void seekToPreviousWindow()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2008,7 +2033,9 @@ getMaxSeekToPreviousPosition
hasNext
@Deprecated
public boolean hasNext()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2024,7 +2051,9 @@ hasNext
hasNextWindow
@Deprecated
public boolean hasNextWindow()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2054,7 +2083,9 @@ hasNextMediaItem
next
@Deprecated
public void next()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2070,7 +2101,9 @@ next
seekToNextWindow
@Deprecated
public void seekToNextWindow()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2177,7 +2210,11 @@ stop
stop
@Deprecated
public void stop(boolean reset)
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2199,55 +2236,19 @@ release
-
+
-
-
-
-
-
-
-
-
@@ -2376,7 +2377,9 @@ getCurrentPeriodIndex
getCurrentWindowIndex
@Deprecated
public int getCurrentWindowIndex()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2406,7 +2409,9 @@ getCurrentMediaItemIndex
getNextWindowIndex
@Deprecated
public int getNextWindowIndex()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2436,7 +2441,9 @@ getNextMediaItemIndex
getPreviousWindowIndex
@Deprecated
public int getPreviousWindowIndex()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2581,7 +2588,9 @@ getTotalBufferedDuration
isCurrentWindowDynamic
@Deprecated
public boolean isCurrentWindowDynamic()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2613,7 +2622,9 @@ isCurrentMediaItemDynamic
isCurrentWindowLive
@Deprecated
public boolean isCurrentWindowLive()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2659,7 +2670,9 @@ getCurrentLiveOffset
isCurrentWindowSeekable
@Deprecated
public boolean isCurrentWindowSeekable()
-Deprecated.
+Deprecated.
+
+
Specified by:
@@ -2985,7 +2998,7 @@ clearVideoTextureView
diff --git a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.Builder.html
index 2cc26876fda..e6b1a25e437 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.Builder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.Builder.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":42,"i3":42,"i4":42,"i5":42,"i6":10,"i7":42,"i8":42,"i9":42,"i10":42,"i11":10,"i12":10,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":10,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":42,"i35":10,"i36":10,"i37":10};
+var data = {"i0":10,"i1":10,"i2":42,"i3":42,"i4":42,"i5":42,"i6":10,"i7":42,"i8":42,"i9":42,"i10":42,"i11":10,"i12":10,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":10,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":42,"i36":10,"i37":10,"i38":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -358,7 +358,7 @@ Method Summary
setDrmSessionForClearPeriods (boolean sessionForClearPeriods)
Deprecated.
-
+
@@ -456,20 +456,27 @@ Method Summary
MediaItem.Builder
+setRequestMetadata (MediaItem.RequestMetadata requestMetadata)
+
+Sets the request metadata.
+
+
+
+MediaItem.Builder
setStreamKeys (List <StreamKey > streamKeys)
Sets the optional stream keys by which the manifest is filtered (only used for adaptive
streams).
-
+
MediaItem.Builder
setSubtitleConfigurations (List <MediaItem.SubtitleConfiguration > subtitleConfigurations)
Sets the optional subtitles.
-
+
MediaItem.Builder
setSubtitles (List <MediaItem.Subtitle > subtitles)
@@ -478,21 +485,21 @@ Method Summary
-
+
MediaItem.Builder
setTag (Object tag)
Sets the optional tag for custom attributes.
-
+
MediaItem.Builder
setUri (Uri uri)
Sets the optional URI.
-
+
MediaItem.Builder
setUri (String uri)
@@ -795,7 +802,7 @@ setDrmSessionForClearPeriods
@Deprecated
public MediaItem.Builder setDrmSessionForClearPeriods(boolean sessionForClearPeriods)
Deprecated.
-
+
@@ -1045,6 +1052,16 @@ setMediaMetadata
Sets the media metadata.
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html
index b8bc49adea8..77689c66943 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.DrmConfiguration.Builder.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var data = {"i0":10,"i1":42,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -173,7 +173,7 @@ Constructor Summary
Method Summary
-All Methods Instance Methods Concrete Methods
+All Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type
Method
@@ -186,9 +186,11 @@ Method Summary
MediaItem.DrmConfiguration.Builder
-forceSessionsForAudioAndVideoTracks (boolean useClearSessionsForAudioAndVideoTracks)
+forceSessionsForAudioAndVideoTracks (boolean forceSessionsForAudioAndVideoTracks)
-
+Deprecated.
+
+
@@ -209,40 +211,47 @@ Method Summary
MediaItem.DrmConfiguration.Builder
+setForceSessionsForAudioAndVideoTracks (boolean forceSessionsForAudioAndVideoTracks)
+
+
+
+
+
+MediaItem.DrmConfiguration.Builder
setKeySetId (byte[] keySetId)
Sets the key set ID of the offline license.
-
+
MediaItem.DrmConfiguration.Builder
setLicenseRequestHeaders (Map <String ,String > licenseRequestHeaders)
Sets the optional request headers attached to DRM license requests.
-
+
MediaItem.DrmConfiguration.Builder
setLicenseUri (Uri licenseUri)
Sets the optional default DRM license server URI.
-
+
MediaItem.DrmConfiguration.Builder
setLicenseUri (String licenseUri)
Sets the optional default DRM license server URI.
-
+
MediaItem.DrmConfiguration.Builder
setMultiSession (boolean multiSession)
Sets whether multi session is enabled.
-
+
MediaItem.DrmConfiguration.Builder
setPlayClearContentWithoutKey (boolean playClearContentWithoutKey)
@@ -250,7 +259,7 @@ Method Summary
encrypted part of the content have yet to be loaded.
-
+
MediaItem.DrmConfiguration.Builder
setScheme (UUID scheme)
@@ -385,7 +394,21 @@ setPlayClearContentWithoutKey
forceSessionsForAudioAndVideoTracks
-public MediaItem.DrmConfiguration.Builder forceSessionsForAudioAndVideoTracks(boolean useClearSessionsForAudioAndVideoTracks)
+@Deprecated
+@InlineMe(replacement="this.setForceSessionsForAudioAndVideoTracks(forceSessionsForAudioAndVideoTracks)")
+public MediaItem.DrmConfiguration.Builder forceSessionsForAudioAndVideoTracks(boolean forceSessionsForAudioAndVideoTracks)
+Deprecated.
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.Builder.html
new file mode 100644
index 00000000000..5352494507d
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.Builder.html
@@ -0,0 +1,367 @@
+
+
+
+
+MediaItem.RequestMetadata.Builder (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.MediaItem.RequestMetadata.Builder
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor
+Description
+
+
+Builder ()
+
+Constructs an instance.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+Builder
+public Builder()
+Constructs an instance.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.html b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.html
similarity index 56%
rename from docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.html
rename to docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.html
index 6ae8fba876b..baecc48d766 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/MediaItem.RequestMetadata.html
@@ -2,36 +2,36 @@
-TrackSelectionOverrides (ExoPlayer library)
+MediaItem.RequestMetadata (ExoPlayer library)
-
-
-
-
-
+
+
+
+
+
-
-
+
+
@@ -49,18 +49,18 @@
SEARCH:
@@ -113,15 +113,15 @@
java.lang.Object
-com.google.android.exoplayer2.trackselection.TrackSelectionOverrides
+com.google.android.exoplayer2.MediaItem.RequestMetadata
@@ -130,29 +130,21 @@
Class TrackSelectionOver
All Implemented Interfaces:
-Bundleable
+Bundleable
+
+
+Enclosing class:
+MediaItem
-public final class TrackSelectionOverrides
+public static final class MediaItem.RequestMetadata
extends Object
-implements Bundleable
-
@@ -175,16 +167,9 @@ Nested Class Summary
static class
-TrackSelectionOverrides.Builder
+MediaItem.RequestMetadata.Builder
-
-
-
-
-static class
-TrackSelectionOverrides.TrackSelectionOverride
-
-
+
@@ -192,8 +177,8 @@ Nested Class Summary
-Nested classes/interfaces inherited from interface com.google.android.exoplayer2.Bundleable
-Bundleable.Creator <T extends Bundleable >
+Nested classes/interfaces inherited from interface com.google.android.exoplayer2.Bundleable
+Bundleable.Creator <T extends Bundleable >
@@ -213,17 +198,38 @@ Field Summary
Description
-static Bundleable.Creator <TrackSelectionOverrides >
+static Bundleable.Creator <MediaItem.RequestMetadata >
CREATOR
-Object that can restore
TrackSelectionOverrides
from a
Bundle
.
+
-static TrackSelectionOverrides
+static MediaItem.RequestMetadata
EMPTY
-Empty TrackSelectionOverrides
, where no track selection is overridden.
+Empty request metadata.
+
+
+
+Bundle
+extras
+
+
+
+
+
+Uri
+mediaUri
+
+The URI of the requested media, or null if not known or applicable.
+
+
+
+String
+searchQuery
+
+The search query for the requested media, or null if not applicable.
@@ -245,38 +251,23 @@ Method Summary
Description
-ImmutableList <TrackSelectionOverrides.TrackSelectionOverride >
-asList ()
-
-
-
-
-
-TrackSelectionOverrides.Builder
+MediaItem.RequestMetadata.Builder
buildUpon ()
-
+
-
+
boolean
-equals (Object obj)
+equals (Object o)
-
-TrackSelectionOverrides.TrackSelectionOverride
-getOverride (TrackGroup trackGroup)
-
-
-
-
-
+
int
hashCode ()
-
+
Bundle
toBundle ()
@@ -313,8 +304,44 @@ Field Detail
+
+
+
+
+
+mediaUri
+@Nullable
+public final Uri mediaUri
+The URI of the requested media, or null if not known or applicable.
+
+
+
+
+
+
+
+searchQuery
+@Nullable
+public final String searchQuery
+The search query for the requested media, or null if not applicable.
+
+
+
+
@@ -323,8 +350,8 @@ EMPTY
@@ -343,30 +370,8 @@ Method Detail
-
-
-
-
-
-
-
-
@@ -376,7 +381,7 @@ getOverride
equals
public boolean equals(@Nullable
- Object obj)
+ Object o)
Overrides:
equals
in class Object
@@ -403,11 +408,11 @@ hashCode
toBundle
public Bundle toBundle()
-
+
Returns a
Bundle
representing the information stored in this object.
Specified by:
-toBundle
in interface Bundleable
+toBundle
in interface Bundleable
@@ -431,18 +436,18 @@ toBundle
@@ -254,7 +254,7 @@ Builder
public Builder()
+ By default the content type is C.AUDIO_CONTENT_TYPE_UNKNOWN
, usage is C.USAGE_MEDIA
, capture policy is C.ALLOW_CAPTURE_BY_ALL
and no flags are set.
@@ -318,7 +318,7 @@
setAllowedCapturePolicy
setSpatializationBehavior
public AudioAttributes.Builder setSpatializationBehavior(@com.google.android.exoplayer2.C.SpatializationBehavior int spatializationBehavior)
-See android.media.AudioAttributes.Builder.setSpatializationBehavior(int)
.
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioAttributes.html b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioAttributes.html
index 0833cb2db72..e94fe15bf04 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioAttributes.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioAttributes.html
@@ -166,6 +166,13 @@ Nested Class Summary
static class
+AudioAttributes.AudioAttributesV21
+
+
+
+
+
+static class
AudioAttributes.Builder
@@ -221,9 +228,9 @@ Field Summary
static AudioAttributes
DEFAULT
-
+
@@ -271,10 +278,10 @@ Method Summary
-AudioAttributes
+AudioAttributes.AudioAttributesV21
getAudioAttributesV21 ()
-
+
@@ -320,9 +327,9 @@ Field Detail
DEFAULT
public static final AudioAttributes DEFAULT
-
+
@@ -406,10 +413,11 @@ Method Detail
getAudioAttributesV21
@RequiresApi(21)
-public AudioAttributes getAudioAttributesV21()
-
diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioCapabilities.html b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioCapabilities.html
index 1f52185355e..2569963e1ee 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioCapabilities.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioCapabilities.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10};
+var data = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -215,25 +215,40 @@ Method Summary
+Pair <Integer ,Integer >
+getEncodingAndChannelConfigForPassthrough (Format format)
+
+Returns the encoding and channel config to use when configuring an
AudioTrack
in
+ passthrough mode for the specified
Format
.
+
+
+
int
getMaxChannelCount ()
Returns the maximum number of channels the device can play at the same time.
-
+
int
hashCode ()
-
+
+boolean
+isPassthroughPlaybackSupported (Format format)
+
+Returns whether the device can do passthrough playback for format
.
+
+
+
boolean
supportsEncoding (@com.google.android.exoplayer2.C.Encoding int encoding)
Returns whether this device supports playback of the specified audio encoding
.
-
+
String
toString ()
@@ -357,6 +372,36 @@ getMaxChannelCount
Returns the maximum number of channels the device can play at the same time.
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.Listener.html b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.Listener.html
index fcd9bbc4132..71a80ca74df 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.Listener.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.Listener.html
@@ -163,7 +163,7 @@ Method Summary
default void
-onOffloadBufferFull (long bufferEmptyingDeadlineMs)
+onOffloadBufferFull ()
Called when the offload buffer has been filled completely.
@@ -291,18 +291,14 @@ onOffloadBufferEmptying
Called when the offload buffer has been partially emptied.
-
+
onOffloadBufferFull
-default void onOffloadBufferFull(long bufferEmptyingDeadlineMs)
+default void onOffloadBufferFull()
Called when the offload buffer has been filled completely.
-
-Parameters:
-bufferEmptyingDeadlineMs
- Maximum time in milliseconds until onOffloadBufferEmptying()
will be called.
-
diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/DecoderAudioRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/audio/DecoderAudioRenderer.html
index 4e482afb867..2aa10d21d59 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/audio/DecoderAudioRenderer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/audio/DecoderAudioRenderer.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":6,"i2":10,"i3":10,"i4":6,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":6};
+var data = {"i0":10,"i1":6,"i2":10,"i3":10,"i4":6,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -405,6 +405,15 @@ Method Summary
+protected void
+onStreamChanged (Format [] formats,
+ long startPositionUs,
+ long offsetUs)
+
+Called when the renderer's stream has changed.
+
+
+
void
render (long positionUs,
long elapsedRealtimeUs)
@@ -412,28 +421,28 @@ Method Summary
-
+
void
setPlaybackParameters (PlaybackParameters playbackParameters)
Attempts to set the playback parameters.
-
+
protected boolean
sinkSupportsFormat (Format format)
-
+
@com.google.android.exoplayer2.RendererCapabilities.Capabilities int
supportsFormat (Format format)
Returns the extent to which the
Renderer
supports a given format.
-
+
protected abstract @com.google.android.exoplayer2.C.FormatSupport int
supportsFormatInternal (Format format)
@@ -446,7 +455,7 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.BaseRenderer
-createRendererException , createRendererException , disable , enable , getCapabilities , getConfiguration , getFormatHolder , getIndex , getLastResetPositionUs , getPlayerId , getReadingPositionUs , getState , getStream , getStreamFormats , getTrackType , hasReadStreamToEnd , init , isCurrentStreamFinal , isSourceReady , maybeThrowStreamError , onReset , onStreamChanged , readSource , replaceStream , reset , resetPosition , setCurrentStreamFinal , skipSource , start , stop , supportsMixedMimeTypeAdaptation
+createRendererException , createRendererException , disable , enable , getCapabilities , getConfiguration , getFormatHolder , getIndex , getLastResetPositionUs , getPlayerId , getReadingPositionUs , getState , getStream , getStreamFormats , getTrackType , hasReadStreamToEnd , init , isCurrentStreamFinal , isSourceReady , maybeThrowStreamError , onReset , readSource , replaceStream , reset , resetPosition , setCurrentStreamFinal , skipSource , start , stop , supportsMixedMimeTypeAdaptation
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html
index ff6048ccb7e..5ad602bf880 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html
@@ -201,148 +201,154 @@ Package com.google.android.exoplayer2.aud
+AudioAttributes.AudioAttributesV21
+
+
+
+
+
AudioAttributes.Builder
-
+
AudioCapabilities
Represents the set of audio formats that a device is capable of playing.
-
+
AudioCapabilitiesReceiver
-
+
AudioProcessor.AudioFormat
PCM audio format that may be handled by an audio processor.
-
+
AudioRendererEventListener.EventDispatcher
-
+
AuxEffectInfo
Represents auxiliary effect information, which can be used to attach an auxiliary effect to an
underlying
AudioTrack
.
-
+
BaseAudioProcessor
Base class for audio processors that keep an output buffer and an internal buffer that is reused
whenever input is queued.
-
+
DecoderAudioRenderer <T extends Decoder <DecoderInputBuffer ,? extends SimpleDecoderOutputBuffer ,? extends DecoderException >>
Decodes and renders audio using a
Decoder
.
-
+
DefaultAudioSink
Plays audio data.
-
+
DefaultAudioSink.Builder
-
+
DefaultAudioSink.DefaultAudioProcessorChain
-
+
DefaultAudioTrackBufferSizeProvider
Provide the buffer size to use when creating an
AudioTrack
.
-
+
DefaultAudioTrackBufferSizeProvider.Builder
-
+
DtsUtil
Utility methods for parsing DTS frames.
-
+
ForwardingAudioSink
An overridable
AudioSink
implementation forwarding all methods to another sink.
-
+
MediaCodecAudioRenderer
-
+
MpegAudioUtil
Utility methods for handling MPEG audio streams.
-
+
MpegAudioUtil.Header
Stores the metadata for an MPEG audio frame.
-
+
OpusUtil
Utility methods for handling Opus audio streams.
-
+
SilenceSkippingAudioProcessor
-
+
SonicAudioProcessor
An
AudioProcessor
that uses the Sonic library to modify audio speed/pitch/sample rate.
-
+
TeeAudioProcessor
Audio processor that outputs its input unmodified and also outputs its input to a given sink.
-
+
TeeAudioProcessor.WavFileAudioBufferSink
A sink for audio buffers that writes output audio as .wav files with a given path prefix.
-
+
WavUtil
Utilities for handling WAVE files.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html
index f5aa27b124d..893d8f46fa5 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html
@@ -110,6 +110,7 @@ Class Hierarchy
com.google.android.exoplayer2.audio.Ac4Util
com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
com.google.android.exoplayer2.audio.AudioAttributes (implements com.google.android.exoplayer2.Bundleable )
+com.google.android.exoplayer2.audio.AudioAttributes.AudioAttributesV21
com.google.android.exoplayer2.audio.AudioAttributes.Builder
com.google.android.exoplayer2.audio.AudioCapabilities
com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html
index a11651bce95..252d9ae1914 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -228,12 +228,19 @@ Method Summary
boolean
+isFirstSample ()
+
+
+
+
+
+boolean
isKeyFrame ()
-
+
void
setFlags (@com.google.android.exoplayer2.C.BufferFlags int flags)
@@ -303,6 +310,16 @@ isDecodeOnly
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html
index 327a53be064..a145e65284c 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html
@@ -356,7 +356,7 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
-addFlag , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isKeyFrame , setFlags
+addFlag , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isFirstSample , isKeyFrame , setFlags
diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderOutputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderOutputBuffer.html
index 77c7d60faa7..7e14b8c9ca5 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderOutputBuffer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderOutputBuffer.html
@@ -252,7 +252,7 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
-addFlag , clear , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isKeyFrame , setFlags
+addFlag , clear , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isFirstSample , isKeyFrame , setFlags
diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/SimpleDecoderOutputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/SimpleDecoderOutputBuffer.html
index 6ca7fbb6549..d963b7f82ea 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/decoder/SimpleDecoderOutputBuffer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/SimpleDecoderOutputBuffer.html
@@ -258,7 +258,7 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
-addFlag , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isKeyFrame , setFlags
+addFlag , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isFirstSample , isKeyFrame , setFlags
diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/VideoDecoderOutputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/VideoDecoderOutputBuffer.html
index 7e5195d630b..3c3c21c30be 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/decoder/VideoDecoderOutputBuffer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/VideoDecoderOutputBuffer.html
@@ -350,7 +350,7 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
-addFlag , clear , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isKeyFrame , setFlags
+addFlag , clear , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isFirstSample , isKeyFrame , setFlags
diff --git a/docs/doc/reference/com/google/android/exoplayer2/drm/DefaultDrmSessionManagerProvider.html b/docs/doc/reference/com/google/android/exoplayer2/drm/DefaultDrmSessionManagerProvider.html
index 51c887aa003..7150d17f4d7 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/drm/DefaultDrmSessionManagerProvider.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/drm/DefaultDrmSessionManagerProvider.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var data = {"i0":10,"i1":10,"i2":42};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -172,7 +172,7 @@ Constructor Summary
Method Summary
@@ -242,19 +246,19 @@ DefaultDrmSessionManagerProvider
Method Detail
-
+
@@ -264,15 +268,13 @@ setDrmHttpDataSourceFactory
diff --git a/docs/doc/reference/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.html b/docs/doc/reference/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.html
index 09d6fcf4855..aecefa740f9 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/drm/HttpMediaDrmCallback.html
@@ -136,7 +136,7 @@ Class HttpMediaDrmCallback<
public final class HttpMediaDrmCallback
extends Object
implements MediaDrmCallback
-
+
@@ -157,15 +157,19 @@ Constructor Summary
Description
-HttpMediaDrmCallback (String defaultLicenseUrl,
+HttpMediaDrmCallback (String defaultLicenseUrl,
boolean forceDefaultLicenseUrl,
- HttpDataSource.Factory dataSourceFactory)
-
+ DataSource.Factory dataSourceFactory)
+
+Constructs an instance.
+
-HttpMediaDrmCallback (String defaultLicenseUrl,
- HttpDataSource.Factory dataSourceFactory)
-
+HttpMediaDrmCallback (String defaultLicenseUrl,
+ DataSource.Factory dataSourceFactory)
+
+Constructs an instance.
+
@@ -247,7 +251,7 @@ Methods inherited from class java.lang.
+
@@ -255,17 +259,19 @@ Constructor Detail
HttpMediaDrmCallback
public HttpMediaDrmCallback(@Nullable
String defaultLicenseUrl,
- HttpDataSource.Factory dataSourceFactory)
+ DataSource.Factory dataSourceFactory)
+ Constructs an instance.
Parameters:
defaultLicenseUrl
- The default license URL. Used for key requests that do not specify
their own license URL. May be null
if it's known that all key requests will specify
their own URLs.
-dataSourceFactory
- A factory from which to obtain HttpDataSource
instances.
+dataSourceFactory
- A factory from which to obtain DataSource
instances. This will
+ usually be an HTTP-based DataSource
.
-
+
@@ -274,7 +280,8 @@ HttpMediaDrmCallback
public HttpMediaDrmCallback(@Nullable
String defaultLicenseUrl,
boolean forceDefaultLicenseUrl,
- HttpDataSource.Factory dataSourceFactory)
+ DataSource.Factory dataSourceFactory)
+Constructs an instance.
Parameters:
defaultLicenseUrl
- The default license URL. Used for key requests that do not specify
@@ -283,7 +290,8 @@ HttpMediaDrmCallback
known that all key requests will specify their own URLs.
forceDefaultLicenseUrl
- Whether to force use of defaultLicenseUrl
for key
requests that include their own license URL.
-dataSourceFactory
- A factory from which to obtain HttpDataSource
instances.
+dataSourceFactory
- A factory from which to obtain DataSource
instances. This will
+ * usually be an HTTP-based DataSource
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html b/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html
index c50327bb23b..e1dee9309f4 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html
@@ -206,9 +206,9 @@ Method Summary
static OfflineLicenseHelper
-newWidevineInstance (String defaultLicenseUrl,
+newWidevineInstance (String defaultLicenseUrl,
boolean forceDefaultLicenseUrl,
- HttpDataSource.Factory httpDataSourceFactory,
+ DataSource.Factory dataSourceFactory,
DrmSessionEventListener.EventDispatcher eventDispatcher)
Instantiates a new instance which uses Widevine CDM.
@@ -216,9 +216,9 @@ Method Summary
static OfflineLicenseHelper
-newWidevineInstance (String defaultLicenseUrl,
+newWidevineInstance (String defaultLicenseUrl,
boolean forceDefaultLicenseUrl,
- HttpDataSource.Factory httpDataSourceFactory,
+ DataSource.Factory dataSourceFactory,
Map <String ,String > optionalKeyRequestParameters,
DrmSessionEventListener.EventDispatcher eventDispatcher)
@@ -227,8 +227,8 @@ Method Summary
static OfflineLicenseHelper
-newWidevineInstance (String defaultLicenseUrl,
- HttpDataSource.Factory httpDataSourceFactory,
+newWidevineInstance (String defaultLicenseUrl,
+ DataSource.Factory dataSourceFactory,
DrmSessionEventListener.EventDispatcher eventDispatcher)
Instantiates a new instance which uses Widevine CDM.
@@ -325,14 +325,14 @@ OfflineLicenseHelper
Method Detail
-
+
-
+
@@ -356,7 +356,7 @@ newWidevineInstance
newWidevineInstance
public static OfflineLicenseHelper newWidevineInstance(String defaultLicenseUrl,
boolean forceDefaultLicenseUrl,
- HttpDataSource.Factory httpDataSourceFactory,
+ DataSource.Factory dataSourceFactory,
DrmSessionEventListener.EventDispatcher eventDispatcher)
Instantiates a new instance which uses Widevine CDM. Call
release()
when the instance
is no longer required.
@@ -366,7 +366,7 @@ newWidevineInstance
their own license URL.
forceDefaultLicenseUrl
- Whether to use defaultLicenseUrl
for key requests that
include their own license URL.
-httpDataSourceFactory
- A factory from which to obtain HttpDataSource
instances.
+dataSourceFactory
- A factory from which to obtain DataSource
instances.
eventDispatcher
- A DrmSessionEventListener.EventDispatcher
used to distribute
DRM-related events.
Returns:
@@ -374,7 +374,7 @@ newWidevineInstance
-
+
@@ -382,7 +382,7 @@ newWidevineInstance
newWidevineInstance
public static OfflineLicenseHelper newWidevineInstance(String defaultLicenseUrl,
boolean forceDefaultLicenseUrl,
- HttpDataSource.Factory httpDataSourceFactory,
+ DataSource.Factory dataSourceFactory,
@Nullable
Map <String ,String > optionalKeyRequestParameters,
DrmSessionEventListener.EventDispatcher eventDispatcher)
diff --git a/docs/doc/reference/com/google/android/exoplayer2/drm/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/drm/package-summary.html
index bda7ed84632..4e201c8c844 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/drm/package-summary.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/drm/package-summary.html
@@ -275,7 +275,7 @@ Package com.google.android.exoplayer2.drm
HttpMediaDrmCallback
-
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/cast/CastPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/cast/CastPlayer.html
index d387e1247ed..c5b0ce45e65 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/cast/CastPlayer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/cast/CastPlayer.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":42};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":42};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -211,7 +211,7 @@ Fields inherited from class com.google.android.exoplayer2.Player
-COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACK_INFOS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
+COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACKS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEM , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
@@ -388,10 +388,10 @@ Method Summary
-ImmutableList <Cue >
+CueGroup
getCurrentCues ()
-This method is not supported and returns an empty list.
+This method is not supported and returns an empty
CueGroup
.
@@ -425,41 +425,27 @@ Method Summary
-TrackGroupArray
-getCurrentTrackGroups ()
+Tracks
+getCurrentTracks ()
-Returns the available track groups.
+Returns the current tracks.
-TrackSelectionArray
-getCurrentTrackSelections ()
-
-Returns the current track selections.
-
-
-
-TracksInfo
-getCurrentTracksInfo ()
-
-Returns the available tracks, as well as the tracks' support, type, and selection status.
-
-
-
DeviceInfo
getDeviceInfo ()
-
+
int
getDeviceVolume ()
This method is not supported and always returns 0
.
-
+
long
getDuration ()
@@ -467,7 +453,7 @@ Method Summary
the duration is not known.
-
+
com.google.android.gms.cast.MediaQueueItem
getItem (int periodId)
@@ -475,14 +461,14 @@ Method Summary
period with id periodId
exist.
-
+
long
getMaxSeekToPreviousPosition ()
-
+
MediaMetadata
getMediaMetadata ()
@@ -490,21 +476,21 @@ Method Summary
supported.
-
+
PlaybackParameters
getPlaybackParameters ()
Returns the currently active playback parameters.
-
+
@com.google.android.exoplayer2.Player.State int
getPlaybackState ()
-
+
@com.google.android.exoplayer2.Player.PlaybackSuppressionReason int
getPlaybackSuppressionReason ()
@@ -512,119 +498,119 @@ Method Summary
true, or Player.PLAYBACK_SUPPRESSION_REASON_NONE
if playback is not suppressed.
-
+
PlaybackException
getPlayerError ()
Returns the error that caused playback to fail.
-
+
MediaMetadata
getPlaylistMetadata ()
-
+
boolean
getPlayWhenReady ()
-
+
@com.google.android.exoplayer2.Player.RepeatMode int
getRepeatMode ()
-
+
long
getSeekBackIncrement ()
-
+
long
getSeekForwardIncrement ()
-
+
boolean
getShuffleModeEnabled ()
Returns whether shuffling of media items is enabled.
-
+
long
getTotalBufferedDuration ()
Returns an estimate of the total buffered duration from the current position, in milliseconds.
-
+
TrackSelectionParameters
getTrackSelectionParameters ()
Returns the parameters constraining the track selection.
-
+
VideoSize
getVideoSize ()
-
+
float
getVolume ()
This method is not supported and returns 1.
-
+
void
increaseDeviceVolume ()
This method is not supported and does nothing.
-
+
boolean
isCastSessionAvailable ()
Returns whether a cast session is available.
-
+
boolean
isDeviceMuted ()
This method is not supported and always returns false
.
-
+
boolean
isLoading ()
Whether the player is currently loading the source.
-
+
boolean
isPlayingAd ()
Returns whether the player is currently playing an ad.
-
+
void
moveMediaItems (int fromIndex,
int toIndex,
@@ -633,28 +619,28 @@ Method Summary
Moves the media item range to the new index.
-
+
void
prepare ()
Prepares the player.
-
+
void
release ()
Releases the player.
-
+
void
removeListener (Player.Listener listener)
-
+
void
removeMediaItems (int fromIndex,
int toIndex)
@@ -662,7 +648,7 @@ Method Summary
Removes a range of media items from the playlist.
-
+
void
seekTo (int mediaItemIndex,
long positionMs)
@@ -670,21 +656,21 @@ Method Summary
Seeks to a position specified in milliseconds in the specified
MediaItem
.
-
+
void
setDeviceMuted (boolean muted)
This method is not supported and does nothing.
-
+
void
setDeviceVolume (int volume)
This method is not supported and does nothing.
-
+
void
setMediaItems (List <MediaItem > mediaItems,
boolean resetPosition)
@@ -692,7 +678,7 @@ Method Summary
Clears the playlist and adds the specified
MediaItems
.
-
+
void
setMediaItems (List <MediaItem > mediaItems,
int startIndex,
@@ -701,102 +687,105 @@ Method Summary
Clears the playlist and adds the specified
MediaItems
.
-
+
void
setPlaybackParameters (PlaybackParameters playbackParameters)
Attempts to set the playback parameters.
-
+
void
setPlaylistMetadata (MediaMetadata mediaMetadata)
This method is not supported and does nothing.
-
+
void
setPlayWhenReady (boolean playWhenReady)
-
+
void
setRepeatMode (@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)
-
+
void
setSessionAvailabilityListener (SessionAvailabilityListener listener)
Sets a listener for updates on the cast session availability.
-
+
void
setShuffleModeEnabled (boolean shuffleModeEnabled)
Sets whether shuffling of media items is enabled.
-
+
void
setTrackSelectionParameters (TrackSelectionParameters parameters)
Sets the parameters constraining the track selection.
-
+
void
setVideoSurface (Surface surface)
This method is not supported and does nothing.
-
+
void
setVideoSurfaceHolder (SurfaceHolder surfaceHolder)
This method is not supported and does nothing.
-
+
void
setVideoSurfaceView (SurfaceView surfaceView)
This method is not supported and does nothing.
-
+
void
setVideoTextureView (TextureView textureView)
This method is not supported and does nothing.
-
+
void
setVolume (float volume)
This method is not supported and does nothing.
-
+
void
stop ()
Stops playback without resetting the playlist.
-
+
void
stop (boolean reset)
-Deprecated.
+Deprecated.
+
+
@@ -1374,7 +1363,11 @@ stop
stop
@Deprecated
public void stop(boolean reset)
- Deprecated.
+Deprecated.
+
+
@@ -1472,52 +1465,18 @@ getShuffleModeEnabled
-
-
-
-
-
-
-
-
-
+
@@ -1572,10 +1531,10 @@ getMediaMetadata
+ This MediaMetadata
is a combination of the MediaItem
+ metadata
, the static metadata in the media's Format
, and any timed
+ metadata that has been parsed from the media and output via Player.Listener.onMetadata(Metadata)
. If a field is populated in the MediaItem.mediaMetadata
,
+ it will be prioritised above the same field coming from static or timed metadata.
@@ -1951,8 +1910,8 @@ getVideoSize
getCurrentCues
-public ImmutableList <Cue > getCurrentCues()
-This method is not supported and returns an empty list.
+public CueGroup getCurrentCues()
+This method is not supported and returns an empty
CueGroup
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/cronet/CronetDataSource.html b/docs/doc/reference/com/google/android/exoplayer2/ext/cronet/CronetDataSource.html
index 641e6477f7f..f76662a2130 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/cronet/CronetDataSource.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/cronet/CronetDataSource.html
@@ -367,7 +367,9 @@ Method Summary
void
setContentTypePredicate (Predicate <String > contentTypePredicate)
-Deprecated.
+Deprecated.
+
+
@@ -495,14 +497,9 @@ setContentTypePredicate
@Deprecated
public void setContentTypePredicate(@Nullable
Predicate <String > contentTypePredicate)
-Deprecated.
-
-
-Parameters:
-contentTypePredicate
- The content type Predicate
, or null
to clear a
- predicate that was previously set.
-
+Deprecated.
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html
index 2bbc3dae9bf..00b53fa2bf0 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html
@@ -294,14 +294,14 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.audio.DecoderAudioRenderer
-canReuseDecoder , experimentalSetEnableKeepAudioTrackOnSeek , getMediaClock , getPlaybackParameters , getPositionUs , getSinkFormatSupport , handleMessage , isEnded , isReady , onDisabled , onEnabled , onPositionDiscontinuity , onPositionReset , onQueueInputBuffer , onStarted , onStopped , render , setPlaybackParameters , sinkSupportsFormat , supportsFormat
+canReuseDecoder , experimentalSetEnableKeepAudioTrackOnSeek , getMediaClock , getPlaybackParameters , getPositionUs , getSinkFormatSupport , handleMessage , isEnded , isReady , onDisabled , onEnabled , onPositionDiscontinuity , onPositionReset , onQueueInputBuffer , onStarted , onStopped , onStreamChanged , render , setPlaybackParameters , sinkSupportsFormat , supportsFormat
Methods inherited from class com.google.android.exoplayer2.BaseRenderer
-createRendererException , createRendererException , disable , enable , getCapabilities , getConfiguration , getFormatHolder , getIndex , getLastResetPositionUs , getPlayerId , getReadingPositionUs , getState , getStream , getStreamFormats , getTrackType , hasReadStreamToEnd , init , isCurrentStreamFinal , isSourceReady , maybeThrowStreamError , onReset , onStreamChanged , readSource , replaceStream , reset , resetPosition , setCurrentStreamFinal , skipSource , start , stop
+createRendererException , createRendererException , disable , enable , getCapabilities , getConfiguration , getFormatHolder , getIndex , getLastResetPositionUs , getPlayerId , getReadingPositionUs , getState , getStream , getStreamFormats , getTrackType , hasReadStreamToEnd , init , isCurrentStreamFinal , isSourceReady , maybeThrowStreamError , onReset , readSource , replaceStream , reset , resetPosition , setCurrentStreamFinal , skipSource , start , stop
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/flac/LibflacAudioRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/flac/LibflacAudioRenderer.html
index f24d015c309..dd2da04276d 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/flac/LibflacAudioRenderer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/flac/LibflacAudioRenderer.html
@@ -286,14 +286,14 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.audio.DecoderAudioRenderer
-canReuseDecoder , experimentalSetEnableKeepAudioTrackOnSeek , getMediaClock , getPlaybackParameters , getPositionUs , getSinkFormatSupport , handleMessage , isEnded , isReady , onDisabled , onEnabled , onPositionDiscontinuity , onPositionReset , onQueueInputBuffer , onStarted , onStopped , render , setPlaybackParameters , sinkSupportsFormat , supportsFormat
+canReuseDecoder , experimentalSetEnableKeepAudioTrackOnSeek , getMediaClock , getPlaybackParameters , getPositionUs , getSinkFormatSupport , handleMessage , isEnded , isReady , onDisabled , onEnabled , onPositionDiscontinuity , onPositionReset , onQueueInputBuffer , onStarted , onStopped , onStreamChanged , render , setPlaybackParameters , sinkSupportsFormat , supportsFormat
Methods inherited from class com.google.android.exoplayer2.BaseRenderer
-createRendererException , createRendererException , disable , enable , getCapabilities , getConfiguration , getFormatHolder , getIndex , getLastResetPositionUs , getPlayerId , getReadingPositionUs , getState , getStream , getStreamFormats , getTrackType , hasReadStreamToEnd , init , isCurrentStreamFinal , isSourceReady , maybeThrowStreamError , onReset , onStreamChanged , readSource , replaceStream , reset , resetPosition , setCurrentStreamFinal , skipSource , start , stop , supportsMixedMimeTypeAdaptation
+createRendererException , createRendererException , disable , enable , getCapabilities , getConfiguration , getFormatHolder , getIndex , getLastResetPositionUs , getPlayerId , getReadingPositionUs , getState , getStream , getStreamFormats , getTrackType , hasReadStreamToEnd , init , isCurrentStreamFinal , isSourceReady , maybeThrowStreamError , onReset , readSource , replaceStream , reset , resetPosition , setCurrentStreamFinal , skipSource , start , stop , supportsMixedMimeTypeAdaptation
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html
index b2956b1f65b..dae41b78378 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html
@@ -291,16 +291,12 @@ Method Detail
setLoadErrorHandlingPolicy
-public MediaSource.Factory setLoadErrorHandlingPolicy(@Nullable
- LoadErrorHandlingPolicy loadErrorHandlingPolicy)
+public MediaSource.Factory setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy loadErrorHandlingPolicy)
Specified by:
setLoadErrorHandlingPolicy
in interface MediaSource.Factory
-Parameters:
-loadErrorHandlingPolicy
- A LoadErrorHandlingPolicy
, or null
to use the
- DefaultLoadErrorHandlingPolicy
.
Returns:
This factory, for convenience.
@@ -312,13 +308,10 @@ setLoadErrorHandlingPolicy
setDrmSessionManagerProvider
-public MediaSource.Factory setDrmSessionManagerProvider(@Nullable
- DrmSessionManagerProvider drmSessionManagerProvider)
+public MediaSource.Factory setDrmSessionManagerProvider(DrmSessionManagerProvider drmSessionManagerProvider)
+ MediaItem
.
Specified by:
setDrmSessionManagerProvider
in interface MediaSource.Factory
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html
index 3d492e1ff75..63954940fa3 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html
@@ -474,7 +474,7 @@ setFormat
Sets the format of the stream request.
Parameters:
-format
- VOD or live stream type.
+format
- C.TYPE_DASH
or C.TYPE_HLS
.
Returns:
This instance, for convenience.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html
index 0b04e490376..9e0aada7841 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/opus/LibopusAudioRenderer.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -260,20 +260,28 @@ Method Summary
+protected boolean
+experimentalGetDiscardPaddingEnabled ()
+
+Returns true if support for padding removal from the end of decoder output buffer should be
+ enabled.
+
+
+
String
getName ()
Returns the name of this renderer, for logging and debugging purposes.
-
+
protected Format
getOutputFormat (OpusDecoder decoder)
Returns the format of audio buffers output by the decoder.
-
+
protected @com.google.android.exoplayer2.C.FormatSupport int
supportsFormatInternal (Format format)
@@ -286,14 +294,14 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.audio.DecoderAudioRenderer
-canReuseDecoder , experimentalSetEnableKeepAudioTrackOnSeek , getMediaClock , getPlaybackParameters , getPositionUs , getSinkFormatSupport , handleMessage , isEnded , isReady , onDisabled , onEnabled , onPositionDiscontinuity , onPositionReset , onQueueInputBuffer , onStarted , onStopped , render , setPlaybackParameters , sinkSupportsFormat , supportsFormat
+canReuseDecoder , experimentalSetEnableKeepAudioTrackOnSeek , getMediaClock , getPlaybackParameters , getPositionUs , getSinkFormatSupport , handleMessage , isEnded , isReady , onDisabled , onEnabled , onPositionDiscontinuity , onPositionReset , onQueueInputBuffer , onStarted , onStopped , onStreamChanged , render , setPlaybackParameters , sinkSupportsFormat , supportsFormat
Methods inherited from class com.google.android.exoplayer2.BaseRenderer
-createRendererException , createRendererException , disable , enable , getCapabilities , getConfiguration , getFormatHolder , getIndex , getLastResetPositionUs , getPlayerId , getReadingPositionUs , getState , getStream , getStreamFormats , getTrackType , hasReadStreamToEnd , init , isCurrentStreamFinal , isSourceReady , maybeThrowStreamError , onReset , onStreamChanged , readSource , replaceStream , reset , resetPosition , setCurrentStreamFinal , skipSource , start , stop , supportsMixedMimeTypeAdaptation
+createRendererException , createRendererException , disable , enable , getCapabilities , getConfiguration , getFormatHolder , getIndex , getLastResetPositionUs , getPlayerId , getReadingPositionUs , getState , getStream , getStreamFormats , getTrackType , hasReadStreamToEnd , init , isCurrentStreamFinal , isSourceReady , maybeThrowStreamError , onReset , readSource , replaceStream , reset , resetPosition , setCurrentStreamFinal , skipSource , start , stop , supportsMixedMimeTypeAdaptation
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/opus/OpusDecoder.html b/docs/doc/reference/com/google/android/exoplayer2/ext/opus/OpusDecoder.html
index adee9d31e01..b8850a37c11 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/opus/OpusDecoder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/opus/OpusDecoder.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -248,13 +248,20 @@ Method Summary
+void
+experimentalSetDiscardPaddingEnabled (boolean enabled)
+
+Sets whether discard padding is enabled.
+
+
+
String
getName ()
Returns the name of the decoder.
-
+
void
release ()
@@ -361,6 +368,19 @@ OpusDecoder
Method Detail
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html b/docs/doc/reference/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html
index 2df9c59e824..ab1558c6381 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.html
@@ -161,6 +161,8 @@ Class DefaultExtractors
the FLAC extension or the FFmpeg extension.
JPEG (JpegExtractor
)
+ MIDI, if available, the MIDI extension's
+ com.google.android.exoplayer2.decoder.midi.MidiExtractor
is used.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/extractor/Extractor.html b/docs/doc/reference/com/google/android/exoplayer2/extractor/Extractor.html
index 06c40fe59e1..e8579fe58bf 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/extractor/Extractor.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/extractor/Extractor.html
@@ -122,7 +122,7 @@ Interface Extractor
All Known Implementing Classes:
-Ac3Extractor
, Ac4Extractor
, AdtsExtractor
, AmrExtractor
, FlacExtractor
, FlacExtractor
, FlvExtractor
, FragmentedMp4Extractor
, JpegExtractor
, MatroskaExtractor
, Mp3Extractor
, Mp4Extractor
, OggExtractor
, PsExtractor
, RawCcExtractor
, SubtitleExtractor
, TsExtractor
, WavExtractor
, WebvttExtractor
+Ac3Extractor
, Ac4Extractor
, AdtsExtractor
, AmrExtractor
, AviExtractor
, FlacExtractor
, FlacExtractor
, FlvExtractor
, FragmentedMp4Extractor
, JpegExtractor
, MatroskaExtractor
, Mp3Extractor
, Mp4Extractor
, OggExtractor
, PsExtractor
, SubtitleExtractor
, TsExtractor
, WavExtractor
, WebvttExtractor
public interface Extractor
diff --git a/docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/RawCcExtractor.html b/docs/doc/reference/com/google/android/exoplayer2/extractor/avi/AviExtractor.html
similarity index 70%
rename from docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/RawCcExtractor.html
rename to docs/doc/reference/com/google/android/exoplayer2/extractor/avi/AviExtractor.html
index 5a902b3a462..5e09d899e6e 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/extractor/rawcc/RawCcExtractor.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/extractor/avi/AviExtractor.html
@@ -2,7 +2,7 @@
-RawCcExtractor (ExoPlayer library)
+AviExtractor (ExoPlayer library)
@@ -19,7 +19,7 @@
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.source.rtsp.reader.RtpPcmReader
+
+
+
+
+
+
+
+All Implemented Interfaces:
+RtpPayloadReader
+
+
+public final class RtpPcmReader
+extends Object
+implements RtpPayloadReader
+Parses byte stream carried on RTP packets, and extracts PCM frames. Refer to RFC3551 for more
+ details.
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods
+
+Modifier and Type
+Method
+Description
+
+
+void
+consume (ParsableByteArray data,
+ long timestamp,
+ int sequenceNumber,
+ boolean rtpMarker)
+
+Consumes the payload from the an RTP packet.
+
+
+
+void
+createTracks (ExtractorOutput extractorOutput,
+ int trackId)
+
+Initializes the reader by providing its output and track id.
+
+
+
+void
+onReceivingFirstPacket (long timestamp,
+ int sequenceNumber)
+
+This method should be called on reading the first packet in a stream of incoming packets.
+
+
+
+void
+seek (long nextRtpTimestamp,
+ long timeUs)
+
+Seeks the reader.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+createTracks
+public void createTracks(ExtractorOutput extractorOutput,
+ int trackId)
+
+Initializes the reader by providing its output and track id.
+
+Specified by:
+createTracks
in interface RtpPayloadReader
+Parameters:
+extractorOutput
- The ExtractorOutput
instance that receives the extracted data.
+trackId
- The track identifier to set on the format.
+
+
+
+
+
+
+
+
+onReceivingFirstPacket
+public void onReceivingFirstPacket(long timestamp,
+ int sequenceNumber)
+
+This method should be called on reading the first packet in a stream of incoming packets.
+
+Specified by:
+onReceivingFirstPacket
in interface RtpPayloadReader
+Parameters:
+timestamp
- The timestamp associated with the first received RTP packet. This number has
+ no unit, the duration conveyed by it depends on the frequency of the media that the RTP
+ packet is carrying.
+sequenceNumber
- The sequence associated with the first received RTP packet.
+
+
+
+
+
+
+
+
+consume
+public void consume(ParsableByteArray data,
+ long timestamp,
+ int sequenceNumber,
+ boolean rtpMarker)
+
+Consumes the payload from the an RTP packet.
+
+Specified by:
+consume
in interface RtpPayloadReader
+Parameters:
+data
- The RTP payload to consume.
+timestamp
- The timestamp of the RTP packet that transmitted the data. This number has no
+ unit, the duration conveyed by it depends on the frequency of the media that the RTP packet
+ is carrying.
+sequenceNumber
- The sequence number of the RTP packet.
+rtpMarker
- The marker bit of the RTP packet. The interpretation of this bit is specific
+ to each payload format.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-summary.html
index 6c82c9e9896..96fd8ac493c 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-summary.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-summary.html
@@ -138,6 +138,12 @@ Package com.google.android.exoplayer2.sou
Parses an AC3 byte stream carried on RTP packets, and extracts AC3 frames.
+
+RtpPcmReader
+
+Parses byte stream carried on RTP packets, and extracts PCM frames.
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-tree.html
index 5dc2a71a5c9..ea5fc515428 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-tree.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/package-tree.html
@@ -105,6 +105,7 @@ Class Hierarchy
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html b/docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html
index 8f8d05b2e2a..f9711f5bc2d 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.Factory.html
@@ -268,7 +268,7 @@ Method Summary
SsMediaSource.Factory
setLoadErrorHandlingPolicy (LoadErrorHandlingPolicy loadErrorHandlingPolicy)
-
+
@@ -309,7 +309,16 @@ Constructor Detail
Factory
public Factory(DataSource.Factory dataSourceFactory)
-
+Creates a new factory for
SsMediaSource
s.
+
+
The factory will use the following default components:
+
+
Parameters:
dataSourceFactory
- A factory for DataSource
instances that will be used to load
@@ -326,7 +335,14 @@ Factory
public Factory(SsChunkSource.Factory chunkSourceFactory,
@Nullable
DataSource.Factory manifestDataSourceFactory)
-
+Creates a new factory for
SsMediaSource
s. The factory will use the following default
+ components:
+
+
Parameters:
chunkSourceFactory
- A factory for SsChunkSource
instances.
@@ -352,14 +368,12 @@ Method Detail
setLoadErrorHandlingPolicy
-public SsMediaSource.Factory setLoadErrorHandlingPolicy(@Nullable
- LoadErrorHandlingPolicy loadErrorHandlingPolicy)
-
+public SsMediaSource.Factory setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy loadErrorHandlingPolicy)
+
+
Specified by:
setLoadErrorHandlingPolicy
in interface MediaSource.Factory
-Parameters:
-loadErrorHandlingPolicy
- A LoadErrorHandlingPolicy
.
Returns:
This factory, for convenience.
@@ -406,10 +420,9 @@ setManifestParser
setCompositeSequenceableLoaderFactory
-public SsMediaSource.Factory setCompositeSequenceableLoaderFactory(@Nullable
- CompositeSequenceableLoaderFactory compositeSequenceableLoaderFactory)
+public SsMediaSource.Factory setCompositeSequenceableLoaderFactory(CompositeSequenceableLoaderFactory compositeSequenceableLoaderFactory)
+ loads data from multiple streams (video, audio etc.).
Parameters:
compositeSequenceableLoaderFactory
- A factory to create composite SequenceableLoader
s for when this media source loads data from multiple streams (video,
@@ -425,13 +438,10 @@ setCompositeSequenceableLoaderFactory
setDrmSessionManagerProvider
-public SsMediaSource.Factory setDrmSessionManagerProvider(@Nullable
- DrmSessionManagerProvider drmSessionManagerProvider)
+public SsMediaSource.Factory setDrmSessionManagerProvider(DrmSessionManagerProvider drmSessionManagerProvider)
+ MediaItem
.
Specified by:
setDrmSessionManagerProvider
in interface MediaSource.Factory
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/DataSourceContractTest.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/DataSourceContractTest.html
index 904d3015c86..3332d4ab994 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/DataSourceContractTest.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/DataSourceContractTest.html
@@ -140,7 +140,7 @@ Class DataSourceContractT
Most implementations should pass all these tests. If necessary, subclasses can disable tests
by overriding the @Test
method with a no-op implementation. It's recommended (but
- not required) to also annotate this @Ignore
so that JUnit correclty reports the
+ not required) to also annotate this @Ignore
so that JUnit correctly reports the
test as skipped/ignored instead of passing.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoHostedTest.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoHostedTest.html
index b42b2eadf3d..48916cfb74d 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoHostedTest.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoHostedTest.html
@@ -363,7 +363,7 @@ Methods inherited from class java.lang.AnalyticsListener
-onAudioAttributesChanged , onAudioCodecError , onAudioDecoderInitialized , onAudioDecoderInitialized , onAudioDecoderReleased , onAudioEnabled , onAudioInputFormatChanged , onAudioInputFormatChanged , onAudioPositionAdvancing , onAudioSessionIdChanged , onAudioSinkError , onAudioUnderrun , onAvailableCommandsChanged , onBandwidthEstimate , onCues , onDecoderDisabled , onDecoderEnabled , onDecoderInitialized , onDecoderInputFormatChanged , onDeviceInfoChanged , onDeviceVolumeChanged , onDownstreamFormatChanged , onDrmKeysLoaded , onDrmKeysRemoved , onDrmKeysRestored , onDrmSessionAcquired , onDrmSessionAcquired , onDrmSessionManagerError , onDrmSessionReleased , onDroppedVideoFrames , onIsLoadingChanged , onIsPlayingChanged , onLoadCanceled , onLoadCompleted , onLoadError , onLoadingChanged , onLoadStarted , onMaxSeekToPreviousPositionChanged , onMediaItemTransition , onMediaMetadataChanged , onMetadata , onPlaybackParametersChanged , onPlaybackStateChanged , onPlaybackSuppressionReasonChanged , onPlayerError , onPlayerErrorChanged , onPlayerReleased , onPlayerStateChanged , onPlaylistMetadataChanged , onPlayWhenReadyChanged , onPositionDiscontinuity , onPositionDiscontinuity , onRenderedFirstFrame , onRepeatModeChanged , onSeekBackIncrementChanged , onSeekForwardIncrementChanged , onSeekProcessed , onSeekStarted , onShuffleModeChanged , onSkipSilenceEnabledChanged , onSurfaceSizeChanged , onTimelineChanged , onTracksChanged , onTrackSelectionParametersChanged , onTracksInfoChanged , onUpstreamDiscarded , onVideoCodecError , onVideoDecoderInitialized , onVideoDecoderInitialized , onVideoDecoderReleased , onVideoEnabled , onVideoFrameProcessingOffset , onVideoInputFormatChanged , onVideoInputFormatChanged , onVideoSizeChanged , onVideoSizeChanged , onVolumeChanged
+onAudioAttributesChanged , onAudioCodecError , onAudioDecoderInitialized , onAudioDecoderInitialized , onAudioDecoderReleased , onAudioEnabled , onAudioInputFormatChanged , onAudioInputFormatChanged , onAudioPositionAdvancing , onAudioSessionIdChanged , onAudioSinkError , onAudioUnderrun , onAvailableCommandsChanged , onBandwidthEstimate , onCues , onCues , onDecoderDisabled , onDecoderEnabled , onDecoderInitialized , onDecoderInputFormatChanged , onDeviceInfoChanged , onDeviceVolumeChanged , onDownstreamFormatChanged , onDrmKeysLoaded , onDrmKeysRemoved , onDrmKeysRestored , onDrmSessionAcquired , onDrmSessionAcquired , onDrmSessionManagerError , onDrmSessionReleased , onDroppedVideoFrames , onIsLoadingChanged , onIsPlayingChanged , onLoadCanceled , onLoadCompleted , onLoadError , onLoadingChanged , onLoadStarted , onMaxSeekToPreviousPositionChanged , onMediaItemTransition , onMediaMetadataChanged , onMetadata , onPlaybackParametersChanged , onPlaybackStateChanged , onPlaybackSuppressionReasonChanged , onPlayerError , onPlayerErrorChanged , onPlayerReleased , onPlayerStateChanged , onPlaylistMetadataChanged , onPlayWhenReadyChanged , onPositionDiscontinuity , onPositionDiscontinuity , onRenderedFirstFrame , onRepeatModeChanged , onSeekBackIncrementChanged , onSeekForwardIncrementChanged , onSeekProcessed , onSeekStarted , onShuffleModeChanged , onSkipSilenceEnabledChanged , onSurfaceSizeChanged , onTimelineChanged , onTracksChanged , onTrackSelectionParametersChanged , onUpstreamDiscarded , onVideoCodecError , onVideoDecoderInitialized , onVideoDecoderInitialized , onVideoDecoderReleased , onVideoEnabled , onVideoFrameProcessingOffset , onVideoInputFormatChanged , onVideoInputFormatChanged , onVideoSizeChanged , onVideoSizeChanged , onVolumeChanged
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoPlayerTestRunner.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoPlayerTestRunner.html
index 660becee646..1979ae83196 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoPlayerTestRunner.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExoPlayerTestRunner.html
@@ -348,7 +348,7 @@ Methods inherited from class java.lang.Player.Listener
-onAudioAttributesChanged , onAudioSessionIdChanged , onAvailableCommandsChanged , onCues , onDeviceInfoChanged , onDeviceVolumeChanged , onEvents , onIsLoadingChanged , onIsPlayingChanged , onLoadingChanged , onMaxSeekToPreviousPositionChanged , onMediaMetadataChanged , onMetadata , onPlaybackParametersChanged , onPlaybackSuppressionReasonChanged , onPlayerErrorChanged , onPlayerStateChanged , onPlaylistMetadataChanged , onPlayWhenReadyChanged , onPositionDiscontinuity , onRenderedFirstFrame , onRepeatModeChanged , onSeekBackIncrementChanged , onSeekForwardIncrementChanged , onSeekProcessed , onShuffleModeEnabledChanged , onSkipSilenceEnabledChanged , onSurfaceSizeChanged , onTracksChanged , onTrackSelectionParametersChanged , onTracksInfoChanged , onVideoSizeChanged , onVolumeChanged
+onAudioAttributesChanged , onAudioSessionIdChanged , onAvailableCommandsChanged , onCues , onCues , onDeviceInfoChanged , onDeviceVolumeChanged , onEvents , onIsLoadingChanged , onIsPlayingChanged , onLoadingChanged , onMaxSeekToPreviousPositionChanged , onMediaMetadataChanged , onMetadata , onPlaybackParametersChanged , onPlaybackSuppressionReasonChanged , onPlayerErrorChanged , onPlayerStateChanged , onPlaylistMetadataChanged , onPlayWhenReadyChanged , onPositionDiscontinuity , onRenderedFirstFrame , onRepeatModeChanged , onSeekBackIncrementChanged , onSeekForwardIncrementChanged , onSeekProcessed , onShuffleModeEnabledChanged , onSkipSilenceEnabledChanged , onSurfaceSizeChanged , onTracksChanged , onTrackSelectionParametersChanged , onVideoSizeChanged , onVolumeChanged
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html
index 154c3a9687a..7f3cebeb3b6 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSourceFactory.html
@@ -309,13 +309,10 @@ Method Detail
@@ -265,7 +265,7 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-buildUponParameters , getFormatLanguageScore , getParameters , isSetParametersSupported , isSupported , normalizeUndeterminedLanguageToNull , selectAudioTrack , selectOtherTrack , selectTextTrack , selectTracks , selectVideoTrack , setParameters , setParameters
+buildUponParameters , getFormatLanguageScore , getParameters , isSetParametersSupported , isSupported , normalizeUndeterminedLanguageToNull , release , selectAudioTrack , selectOtherTrack , selectTextTrack , selectTracks , selectVideoTrack , setAudioAttributes , setParameters , setParameters , setParameters
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/HttpDataSourceTestEnv.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/HttpDataSourceTestEnv.html
index d951658581d..f7783e5800a 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/HttpDataSourceTestEnv.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/HttpDataSourceTestEnv.html
@@ -138,7 +138,8 @@ Class HttpDataSourceTestEn
org.junit.rules.TestRule
-public class HttpDataSourceTestEnv
+@RequiresApi(19)
+public class HttpDataSourceTestEnv
extends org.junit.rules.ExternalResource
A JUnit
Rule
that creates test resources for
HttpDataSource
contract tests.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/StubExoPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/StubExoPlayer.html
index e27c3ed5a4e..e80dc60d2ac 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/StubExoPlayer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/StubExoPlayer.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":42,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":42,"i28":10,"i29":10,"i30":42,"i31":10,"i32":10,"i33":10,"i34":42,"i35":42,"i36":10,"i37":10,"i38":42,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":42,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":42,"i19":42,"i20":42,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":42,"i30":10,"i31":10,"i32":42,"i33":10,"i34":10,"i35":10,"i36":42,"i37":42,"i38":10,"i39":10,"i40":42,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":42,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -204,7 +204,7 @@ Fields inherited from interface com.google.android.exoplayer2.Player
-COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACK_INFOS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
+COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACKS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEM , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
@@ -341,7 +341,10 @@ Method Summary
ExoPlayer.AudioComponent
getAudioComponent ()
-Deprecated.
+Deprecated.
+
+
@@ -373,155 +376,188 @@ Method Summary
+TrackGroupArray
+getCurrentTrackGroups ()
+
+Deprecated.
+
+
+
+
+
+TrackSelectionArray
+getCurrentTrackSelections ()
+
+Deprecated.
+
+
+
+
+
ExoPlayer.DeviceComponent
getDeviceComponent ()
-Deprecated.
+Deprecated.
+
+
-
+
boolean
getPauseAtEndOfMediaItems ()
Returns whether the player pauses playback at the end of each media item.
-
+
Looper
getPlaybackLooper ()
Returns the
Looper
associated with the playback thread.
-
+
ExoPlaybackException
getPlayerError ()
Returns the error that caused playback to fail.
-
+
Renderer
getRenderer (int index)
Returns the renderer at the given index.
-
+
int
getRendererCount ()
Returns the number of renderers.
-
+
int
getRendererType (int index)
Returns the track type that the renderer at a given index handles.
-
+
SeekParameters
getSeekParameters ()
-
+
boolean
getSkipSilenceEnabled ()
Returns whether skipping silences in the audio stream is enabled.
-
+
ExoPlayer.TextComponent
getTextComponent ()
-Deprecated.
+Deprecated.
+
+
-
+
TrackSelector
getTrackSelector ()
Returns the track selector that this player uses, or null if track selection is not supported.
-
+
int
getVideoChangeFrameRateStrategy ()
-
+
ExoPlayer.VideoComponent
getVideoComponent ()
-Deprecated.
+Deprecated.
+
+
-
+
DecoderCounters
getVideoDecoderCounters ()
-
+
Format
getVideoFormat ()
Returns the video format currently being played, or null if no video is being played.
-
+
int
getVideoScalingMode ()
-
+
void
prepare (MediaSource mediaSource)
-Deprecated.
+Deprecated.
+
+
-
+
void
prepare (MediaSource mediaSource,
boolean resetPosition,
boolean resetState)
-Deprecated.
+Deprecated.
+
+
-
+
void
removeAnalyticsListener (AnalyticsListener listener)
-
+
void
removeAudioOffloadListener (ExoPlayer.AudioOffloadListener listener)
Removes a listener of audio offload events.
-
+
void
retry ()
-Deprecated.
+Deprecated.
+
+
-
+
void
setAudioAttributes (AudioAttributes audioAttributes,
boolean handleAudioFocus)
@@ -529,28 +565,28 @@ Method Summary
Sets the attributes for audio playback, used by the underlying audio track.
-
+
void
setAudioSessionId (int audioSessionId)
Sets the ID of the audio session to attach to the underlying
AudioTrack
.
-
+
void
setAuxEffectInfo (AuxEffectInfo auxEffectInfo)
Sets information on an auxiliary audio effect to attach to the underlying audio track.
-
+
void
setCameraMotionListener (CameraMotionListener listener)
Sets a listener of camera motion events.
-
+
void
setForegroundMode (boolean foregroundMode)
@@ -558,7 +594,7 @@ Method Summary
even when in the idle state.
-
+
void
setHandleAudioBecomingNoisy (boolean handleAudioBecomingNoisy)
@@ -566,14 +602,16 @@ Method Summary
device speakers.
-
+
void
setHandleWakeLock (boolean handleWakeLock)
-Deprecated.
+Deprecated.
+
+
-
+
void
setMediaSource (MediaSource mediaSource)
@@ -581,7 +619,7 @@ Method Summary
default position.
-
+
void
setMediaSource (MediaSource mediaSource,
boolean resetPosition)
@@ -589,7 +627,7 @@ Method Summary
Clears the playlist and adds the specified
MediaSource
.
-
+
void
setMediaSource (MediaSource mediaSource,
long startPositionMs)
@@ -597,7 +635,7 @@ Method Summary
Clears the playlist and adds the specified
MediaSource
.
-
+
void
setMediaSources (List <MediaSource > mediaSources)
@@ -605,7 +643,7 @@ Method Summary
position to the default position.
-
+
void
setMediaSources (List <MediaSource > mediaSources,
boolean resetPosition)
@@ -613,7 +651,7 @@ Method Summary
-
+
void
setMediaSources (List <MediaSource > mediaSources,
int startMediaItemIndex,
@@ -622,42 +660,42 @@ Method Summary
-
+
void
setPauseAtEndOfMediaItems (boolean pauseAtEndOfMediaItems)
Sets whether to pause playback at the end of each media item.
-
+
void
setPriorityTaskManager (PriorityTaskManager priorityTaskManager)
-
+
void
setSeekParameters (SeekParameters seekParameters)
Sets the parameters that control how seek operations are performed.
-
+
void
setShuffleOrder (ShuffleOrder shuffleOrder)
Sets the shuffle order.
-
+
void
setSkipSilenceEnabled (boolean skipSilenceEnabled)
Sets whether skipping silences in the audio stream is enabled.
-
+
void
setVideoChangeFrameRateStrategy (int videoChangeFrameRateStrategy)
@@ -665,21 +703,21 @@ Method Summary
with a video output Surface
.
-
+
void
setVideoFrameMetadataListener (VideoFrameMetadataListener listener)
Sets a listener to receive video frame metadata events.
-
+
void
setVideoScalingMode (int videoScalingMode)
-
+
void
setWakeMode (int wakeMode)
@@ -692,7 +730,7 @@ Method Summary
Methods inherited from class com.google.android.exoplayer2.testutil.StubPlayer
-addListener , addMediaItems , clearVideoSurface , clearVideoSurface , clearVideoSurfaceHolder , clearVideoSurfaceView , clearVideoTextureView , decreaseDeviceVolume , getApplicationLooper , getAudioAttributes , getAvailableCommands , getBufferedPosition , getContentBufferedPosition , getContentPosition , getCurrentAdGroupIndex , getCurrentAdIndexInAdGroup , getCurrentCues , getCurrentMediaItemIndex , getCurrentPeriodIndex , getCurrentPosition , getCurrentTimeline , getCurrentTrackGroups , getCurrentTrackSelections , getCurrentTracksInfo , getDeviceInfo , getDeviceVolume , getDuration , getMaxSeekToPreviousPosition , getMediaMetadata , getPlaybackParameters , getPlaybackState , getPlaybackSuppressionReason , getPlaylistMetadata , getPlayWhenReady , getRepeatMode , getSeekBackIncrement , getSeekForwardIncrement , getShuffleModeEnabled , getTotalBufferedDuration , getTrackSelectionParameters , getVideoSize , getVolume , increaseDeviceVolume , isDeviceMuted , isLoading , isPlayingAd , moveMediaItems , prepare , release , removeListener , removeMediaItems , seekTo , setDeviceMuted , setDeviceVolume , setMediaItems , setMediaItems , setPlaybackParameters , setPlaylistMetadata , setPlayWhenReady , setRepeatMode , setShuffleModeEnabled , setTrackSelectionParameters , setVideoSurface , setVideoSurfaceHolder , setVideoSurfaceView , setVideoTextureView , setVolume , stop , stop
+addListener , addMediaItems , clearVideoSurface , clearVideoSurface , clearVideoSurfaceHolder , clearVideoSurfaceView , clearVideoTextureView , decreaseDeviceVolume , getApplicationLooper , getAudioAttributes , getAvailableCommands , getBufferedPosition , getContentBufferedPosition , getContentPosition , getCurrentAdGroupIndex , getCurrentAdIndexInAdGroup , getCurrentCues , getCurrentMediaItemIndex , getCurrentPeriodIndex , getCurrentPosition , getCurrentTimeline , getCurrentTracks , getDeviceInfo , getDeviceVolume , getDuration , getMaxSeekToPreviousPosition , getMediaMetadata , getPlaybackParameters , getPlaybackState , getPlaybackSuppressionReason , getPlaylistMetadata , getPlayWhenReady , getRepeatMode , getSeekBackIncrement , getSeekForwardIncrement , getShuffleModeEnabled , getTotalBufferedDuration , getTrackSelectionParameters , getVideoSize , getVolume , increaseDeviceVolume , isDeviceMuted , isLoading , isPlayingAd , moveMediaItems , prepare , release , removeListener , removeMediaItems , seekTo , setDeviceMuted , setDeviceVolume , setMediaItems , setMediaItems , setPlaybackParameters , setPlaylistMetadata , setPlayWhenReady , setRepeatMode , setShuffleModeEnabled , setTrackSelectionParameters , setVideoSurface , setVideoSurfaceHolder , setVideoSurfaceView , setVideoTextureView , setVolume , stop , stop
@@ -713,7 +751,7 @@ Methods inherited from class java.lang.Player
-addListener , addMediaItem , addMediaItem , addMediaItems , addMediaItems , canAdvertiseSession , clearMediaItems , clearVideoSurface , clearVideoSurface , clearVideoSurfaceHolder , clearVideoSurfaceView , clearVideoTextureView , decreaseDeviceVolume , getApplicationLooper , getAudioAttributes , getAvailableCommands , getBufferedPercentage , getBufferedPosition , getContentBufferedPosition , getContentDuration , getContentPosition , getCurrentAdGroupIndex , getCurrentAdIndexInAdGroup , getCurrentCues , getCurrentLiveOffset , getCurrentManifest , getCurrentMediaItem , getCurrentMediaItemIndex , getCurrentPeriodIndex , getCurrentPosition , getCurrentTimeline , getCurrentTrackGroups , getCurrentTrackSelections , getCurrentTracksInfo , getCurrentWindowIndex , getDeviceInfo , getDeviceVolume , getDuration , getMaxSeekToPreviousPosition , getMediaItemAt , getMediaItemCount , getMediaMetadata , getNextMediaItemIndex , getNextWindowIndex , getPlaybackParameters , getPlaybackState , getPlaybackSuppressionReason , getPlaylistMetadata , getPlayWhenReady , getPreviousMediaItemIndex , getPreviousWindowIndex , getRepeatMode , getSeekBackIncrement , getSeekForwardIncrement , getShuffleModeEnabled , getTotalBufferedDuration , getTrackSelectionParameters , getVideoSize , getVolume , hasNext , hasNextMediaItem , hasNextWindow , hasPrevious , hasPreviousMediaItem , hasPreviousWindow , increaseDeviceVolume , isCommandAvailable , isCurrentMediaItemDynamic , isCurrentMediaItemLive , isCurrentMediaItemSeekable , isCurrentWindowDynamic , isCurrentWindowLive , isCurrentWindowSeekable , isDeviceMuted , isLoading , isPlaying , isPlayingAd , moveMediaItem , moveMediaItems , next , pause , play , prepare , previous , release , removeListener , removeMediaItem , removeMediaItems , seekBack , seekForward , seekTo , seekTo , seekToDefaultPosition , seekToDefaultPosition , seekToNext , seekToNextMediaItem , seekToNextWindow , seekToPrevious , seekToPreviousMediaItem , seekToPreviousWindow , setDeviceMuted , setDeviceVolume , setMediaItem , setMediaItem , setMediaItem , setMediaItems , setMediaItems , setMediaItems , setPlaybackParameters , setPlaybackSpeed , setPlaylistMetadata , setPlayWhenReady , setRepeatMode , setShuffleModeEnabled , setTrackSelectionParameters , setVideoSurface , setVideoSurfaceHolder , setVideoSurfaceView , setVideoTextureView , setVolume , stop , stop
+addListener , addMediaItem , addMediaItem , addMediaItems , addMediaItems , canAdvertiseSession , clearMediaItems , clearVideoSurface , clearVideoSurface , clearVideoSurfaceHolder , clearVideoSurfaceView , clearVideoTextureView , decreaseDeviceVolume , getApplicationLooper , getAudioAttributes , getAvailableCommands , getBufferedPercentage , getBufferedPosition , getContentBufferedPosition , getContentDuration , getContentPosition , getCurrentAdGroupIndex , getCurrentAdIndexInAdGroup , getCurrentCues , getCurrentLiveOffset , getCurrentManifest , getCurrentMediaItem , getCurrentMediaItemIndex , getCurrentPeriodIndex , getCurrentPosition , getCurrentTimeline , getCurrentTracks , getCurrentWindowIndex , getDeviceInfo , getDeviceVolume , getDuration , getMaxSeekToPreviousPosition , getMediaItemAt , getMediaItemCount , getMediaMetadata , getNextMediaItemIndex , getNextWindowIndex , getPlaybackParameters , getPlaybackState , getPlaybackSuppressionReason , getPlaylistMetadata , getPlayWhenReady , getPreviousMediaItemIndex , getPreviousWindowIndex , getRepeatMode , getSeekBackIncrement , getSeekForwardIncrement , getShuffleModeEnabled , getTotalBufferedDuration , getTrackSelectionParameters , getVideoSize , getVolume , hasNext , hasNextMediaItem , hasNextWindow , hasPrevious , hasPreviousMediaItem , hasPreviousWindow , increaseDeviceVolume , isCommandAvailable , isCurrentMediaItemDynamic , isCurrentMediaItemLive , isCurrentMediaItemSeekable , isCurrentWindowDynamic , isCurrentWindowLive , isCurrentWindowSeekable , isDeviceMuted , isLoading , isPlaying , isPlayingAd , moveMediaItem , moveMediaItems , next , pause , play , prepare , previous , release , removeListener , removeMediaItem , removeMediaItems , seekBack , seekForward , seekTo , seekTo , seekToDefaultPosition , seekToDefaultPosition , seekToNext , seekToNextMediaItem , seekToNextWindow , seekToPrevious , seekToPreviousMediaItem , seekToPreviousWindow , setDeviceMuted , setDeviceVolume , setMediaItem , setMediaItem , setMediaItem , setMediaItems , setMediaItems , setMediaItems , setPlaybackParameters , setPlaybackSpeed , setPlaylistMetadata , setPlayWhenReady , setRepeatMode , setShuffleModeEnabled , setTrackSelectionParameters , setVideoSurface , setVideoSurfaceHolder , setVideoSurfaceView , setVideoTextureView , setVolume , stop , stop
@@ -758,7 +796,10 @@ Method Detail
getAudioComponent
@Deprecated
public ExoPlayer.AudioComponent getAudioComponent()
-Deprecated.
+Deprecated.
+
+
Specified by:
getAudioComponent
in interface ExoPlayer
@@ -773,7 +814,10 @@ getAudioComponent
getVideoComponent
@Deprecated
public ExoPlayer.VideoComponent getVideoComponent()
-Deprecated.
+Deprecated.
+
+
Specified by:
getVideoComponent
in interface ExoPlayer
@@ -788,7 +832,10 @@ getVideoComponent
getTextComponent
@Deprecated
public ExoPlayer.TextComponent getTextComponent()
-Deprecated.
+Deprecated.
+
+
Specified by:
getTextComponent
in interface ExoPlayer
@@ -803,7 +850,10 @@ getTextComponent
getDeviceComponent
@Deprecated
public ExoPlayer.DeviceComponent getDeviceComponent()
-Deprecated.
+Deprecated.
+
+
Specified by:
getDeviceComponent
in interface ExoPlayer
@@ -959,7 +1009,9 @@ getPlayerError
retry
@Deprecated
public void retry()
-Deprecated.
+Deprecated.
+
+
Specified by:
retry
in interface ExoPlayer
@@ -974,7 +1026,9 @@ retry
prepare
@Deprecated
public void prepare(MediaSource mediaSource)
-Deprecated.
+Deprecated.
+
+
Specified by:
prepare
in interface ExoPlayer
@@ -991,7 +1045,9 @@ prepare
public void prepare(MediaSource mediaSource,
boolean resetPosition,
boolean resetState)
-Deprecated.
+Deprecated.
+
+
Specified by:
prepare
in interface ExoPlayer
@@ -1609,6 +1665,49 @@ getTrackSelector
+
+
+
+
+
+
+
+
@@ -1777,7 +1876,9 @@ setHandleAudioBecomingNoisy
setHandleWakeLock
@Deprecated
public void setHandleWakeLock(boolean handleWakeLock)
-Deprecated.
+Deprecated.
+
+
Specified by:
setHandleWakeLock
in interface ExoPlayer
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/StubPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/StubPlayer.html
index 66ab17f319d..d2c17f215d8 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/StubPlayer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/StubPlayer.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":42};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":42};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -188,7 +188,7 @@ Fields inherited from class com.google.android.exoplayer2.Player
-COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACK_INFOS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
+COMMAND_ADJUST_DEVICE_VOLUME , COMMAND_CHANGE_MEDIA_ITEMS , COMMAND_GET_AUDIO_ATTRIBUTES , COMMAND_GET_CURRENT_MEDIA_ITEM , COMMAND_GET_DEVICE_VOLUME , COMMAND_GET_MEDIA_ITEMS_METADATA , COMMAND_GET_TEXT , COMMAND_GET_TIMELINE , COMMAND_GET_TRACKS , COMMAND_GET_VOLUME , COMMAND_INVALID , COMMAND_PLAY_PAUSE , COMMAND_PREPARE , COMMAND_SEEK_BACK , COMMAND_SEEK_FORWARD , COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM , COMMAND_SEEK_IN_CURRENT_WINDOW , COMMAND_SEEK_TO_DEFAULT_POSITION , COMMAND_SEEK_TO_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT , COMMAND_SEEK_TO_NEXT_MEDIA_ITEM , COMMAND_SEEK_TO_NEXT_WINDOW , COMMAND_SEEK_TO_PREVIOUS , COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM , COMMAND_SEEK_TO_PREVIOUS_WINDOW , COMMAND_SEEK_TO_WINDOW , COMMAND_SET_DEVICE_VOLUME , COMMAND_SET_MEDIA_ITEM , COMMAND_SET_MEDIA_ITEMS_METADATA , COMMAND_SET_REPEAT_MODE , COMMAND_SET_SHUFFLE_MODE , COMMAND_SET_SPEED_AND_PITCH , COMMAND_SET_TRACK_SELECTION_PARAMETERS , COMMAND_SET_VIDEO_SURFACE , COMMAND_SET_VOLUME , COMMAND_STOP , DISCONTINUITY_REASON_AUTO_TRANSITION , DISCONTINUITY_REASON_INTERNAL , DISCONTINUITY_REASON_REMOVE , DISCONTINUITY_REASON_SEEK , DISCONTINUITY_REASON_SEEK_ADJUSTMENT , DISCONTINUITY_REASON_SKIP , EVENT_AUDIO_ATTRIBUTES_CHANGED , EVENT_AUDIO_SESSION_ID , EVENT_AVAILABLE_COMMANDS_CHANGED , EVENT_CUES , EVENT_DEVICE_INFO_CHANGED , EVENT_DEVICE_VOLUME_CHANGED , EVENT_IS_LOADING_CHANGED , EVENT_IS_PLAYING_CHANGED , EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED , EVENT_MEDIA_ITEM_TRANSITION , EVENT_MEDIA_METADATA_CHANGED , EVENT_METADATA , EVENT_PLAY_WHEN_READY_CHANGED , EVENT_PLAYBACK_PARAMETERS_CHANGED , EVENT_PLAYBACK_STATE_CHANGED , EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED , EVENT_PLAYER_ERROR , EVENT_PLAYLIST_METADATA_CHANGED , EVENT_POSITION_DISCONTINUITY , EVENT_RENDERED_FIRST_FRAME , EVENT_REPEAT_MODE_CHANGED , EVENT_SEEK_BACK_INCREMENT_CHANGED , EVENT_SEEK_FORWARD_INCREMENT_CHANGED , EVENT_SHUFFLE_MODE_ENABLED_CHANGED , EVENT_SKIP_SILENCE_ENABLED_CHANGED , EVENT_SURFACE_SIZE_CHANGED , EVENT_TIMELINE_CHANGED , EVENT_TRACK_SELECTION_PARAMETERS_CHANGED , EVENT_TRACKS_CHANGED , EVENT_VIDEO_SIZE_CHANGED , EVENT_VOLUME_CHANGED , MEDIA_ITEM_TRANSITION_REASON_AUTO , MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED , MEDIA_ITEM_TRANSITION_REASON_REPEAT , MEDIA_ITEM_TRANSITION_REASON_SEEK , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY , PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS , PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM , PLAY_WHEN_READY_CHANGE_REASON_REMOTE , PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST , PLAYBACK_SUPPRESSION_REASON_NONE , PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS , REPEAT_MODE_ALL , REPEAT_MODE_OFF , REPEAT_MODE_ONE , STATE_BUFFERING , STATE_ENDED , STATE_IDLE , STATE_READY , TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED , TIMELINE_CHANGE_REASON_SOURCE_UPDATE
@@ -349,10 +349,10 @@ Method Summary
-List <Cue >
+CueGroup
getCurrentCues ()
-Returns the current
Cues
.
+
@@ -386,41 +386,27 @@ Method Summary
-TrackGroupArray
-getCurrentTrackGroups ()
+Tracks
+getCurrentTracks ()
-Returns the available track groups.
+Returns the current tracks.
-TrackSelectionArray
-getCurrentTrackSelections ()
-
-Returns the current track selections.
-
-
-
-TracksInfo
-getCurrentTracksInfo ()
-
-Returns the available tracks, as well as the tracks' support, type, and selection status.
-
-
-
DeviceInfo
getDeviceInfo ()
Gets the device information.
-
+
int
getDeviceVolume ()
Gets the current volume of the device.
-
+
long
getDuration ()
@@ -428,14 +414,14 @@ Method Summary
the duration is not known.
-
+
long
getMaxSeekToPreviousPosition ()
-
+
MediaMetadata
getMediaMetadata ()
@@ -443,21 +429,21 @@ Method Summary
supported.
-
+
PlaybackParameters
getPlaybackParameters ()
Returns the currently active playback parameters.
-
+
@com.google.android.exoplayer2.Player.State int
getPlaybackState ()
-
+
@com.google.android.exoplayer2.Player.PlaybackSuppressionReason int
getPlaybackSuppressionReason ()
@@ -465,112 +451,112 @@ Method Summary
true, or Player.PLAYBACK_SUPPRESSION_REASON_NONE
if playback is not suppressed.
-
+
PlaybackException
getPlayerError ()
Returns the error that caused playback to fail.
-
+
MediaMetadata
getPlaylistMetadata ()
-
+
boolean
getPlayWhenReady ()
-
+
int
getRepeatMode ()
-
+
long
getSeekBackIncrement ()
-
+
long
getSeekForwardIncrement ()
-
+
boolean
getShuffleModeEnabled ()
Returns whether shuffling of media items is enabled.
-
+
long
getTotalBufferedDuration ()
Returns an estimate of the total buffered duration from the current position, in milliseconds.
-
+
TrackSelectionParameters
getTrackSelectionParameters ()
Returns the parameters constraining the track selection.
-
+
VideoSize
getVideoSize ()
Gets the size of the video.
-
+
float
getVolume ()
Returns the audio volume, with 0 being silence and 1 being unity gain (signal unchanged).
-
+
void
increaseDeviceVolume ()
Increases the volume of the device.
-
+
boolean
isDeviceMuted ()
Gets whether the device is muted or not.
-
+
boolean
isLoading ()
Whether the player is currently loading the source.
-
+
boolean
isPlayingAd ()
Returns whether the player is currently playing an ad.
-
+
void
moveMediaItems (int fromIndex,
int toIndex,
@@ -579,28 +565,28 @@ Method Summary
Moves the media item range to the new index.
-
+
void
prepare ()
Prepares the player.
-
+
void
release ()
Releases the player.
-
+
void
removeListener (Player.Listener listener)
-
+
void
removeMediaItems (int fromIndex,
int toIndex)
@@ -608,7 +594,7 @@ Method Summary
Removes a range of media items from the playlist.
-
+
void
seekTo (int mediaItemIndex,
long positionMs)
@@ -616,21 +602,21 @@ Method Summary
Seeks to a position specified in milliseconds in the specified
MediaItem
.
-
+
void
setDeviceMuted (boolean muted)
Sets the mute state of the device.
-
+
void
setDeviceVolume (int volume)
Sets the volume of the device.
-
+
void
setMediaItems (List <MediaItem > mediaItems,
boolean resetPosition)
@@ -638,7 +624,7 @@ Method Summary
Clears the playlist and adds the specified
MediaItems
.
-
+
void
setMediaItems (List <MediaItem > mediaItems,
int startIndex,
@@ -647,56 +633,56 @@ Method Summary
Clears the playlist and adds the specified
MediaItems
.
-
+
void
setPlaybackParameters (PlaybackParameters playbackParameters)
Attempts to set the playback parameters.
-
+
void
setPlaylistMetadata (MediaMetadata mediaMetadata)
-
+
void
setPlayWhenReady (boolean playWhenReady)
-
+
void
setRepeatMode (@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)
-
+
void
setShuffleModeEnabled (boolean shuffleModeEnabled)
Sets whether shuffling of media items is enabled.
-
+
void
setTrackSelectionParameters (TrackSelectionParameters parameters)
Sets the parameters constraining the track selection.
-
+
void
setVideoSurface (Surface surface)
Sets the
Surface
onto which video will be rendered.
-
+
void
setVideoSurfaceHolder (SurfaceHolder surfaceHolder)
@@ -704,21 +690,21 @@ Method Summary
rendered.
-
+
void
setVideoSurfaceView (SurfaceView surfaceView)
Sets the
SurfaceView
onto which video will be rendered.
-
+
void
setVideoTextureView (TextureView textureView)
Sets the
TextureView
onto which video will be rendered.
-
+
void
setVolume (float volume)
@@ -726,18 +712,21 @@ Method Summary
unchanged), inclusive.
-
+
void
stop ()
Stops playback without resetting the playlist.
-
+
void
stop (boolean reset)
-Deprecated.
+Deprecated.
+
+
@@ -1277,7 +1266,11 @@ stop
stop
@Deprecated
public void stop(boolean reset)
-Deprecated.
+Deprecated.
+
+
@@ -1292,52 +1285,18 @@ release
player must not be used after calling this method.
-
-
-
-
-
-
-
-
-
+
@@ -1392,10 +1351,10 @@ getMediaMetadata
+ This MediaMetadata
is a combination of the MediaItem
+ metadata
, the static metadata in the media's Format
, and any timed
+ metadata that has been parsed from the media and output via Player.Listener.onMetadata(Metadata)
. If a field is populated in the MediaItem.mediaMetadata
,
+ it will be prioritised above the same field coming from static or timed metadata.
@@ -1795,9 +1754,9 @@ getVideoSize
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/TestUtil.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/TestUtil.html
index 015d9b6c615..143c570d21d 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/TestUtil.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/TestUtil.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9};
+var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -332,6 +332,13 @@ Method Summary
+static List <Method >
+getPublicMethods (Class <?> clazz)
+
+Returns all the public methods of a Java class (except those defined by
Object
).
+
+
+
static String
getString (Context context,
String fileName)
@@ -339,7 +346,7 @@ Method Summary
Returns a
String
read from an asset file.
-
+
static int
seekToTimeUs (Extractor extractor,
SeekMap seekMap,
@@ -791,13 +798,23 @@ getExtractorInputFromPosition
-
diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/CueGroup.html b/docs/doc/reference/com/google/android/exoplayer2/text/CueGroup.html
new file mode 100644
index 00000000000..b532d0e2439
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/text/CueGroup.html
@@ -0,0 +1,417 @@
+
+
+
+
+CueGroup (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor
+Description
+
+
+CueGroup (List <Cue > cues)
+
+Creates a CueGroup.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+toBundle
+public Bundle toBundle()
+
+Returns a
Bundle
representing the information stored in this object.
+
+Specified by:
+toBundle
in interface Bundleable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleInputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleInputBuffer.html
index bcb3a500513..bf0c04dad85 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleInputBuffer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleInputBuffer.html
@@ -231,7 +231,7 @@ Methods inherited from class com.google.android.exoplayer2.decoder.
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
-addFlag , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isKeyFrame , setFlags
+addFlag , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isFirstSample , isKeyFrame , setFlags
diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleOutputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleOutputBuffer.html
index 749bc472873..3c641fc6ee9 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleOutputBuffer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/text/SubtitleOutputBuffer.html
@@ -281,7 +281,7 @@ Methods inherited from class com.google.android.exoplayer2.decoder.
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
-addFlag , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isKeyFrame , setFlags
+addFlag , clearFlag , getFlag , hasSupplementalData , isDecodeOnly , isEndOfStream , isFirstSample , isKeyFrame , setFlags
diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/TextOutput.html b/docs/doc/reference/com/google/android/exoplayer2/text/TextOutput.html
index d88dea8f8ef..09a0307eda0 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/text/TextOutput.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/text/TextOutput.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":6};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
+var data = {"i0":6,"i1":50};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -137,7 +137,7 @@ Interface TextOutput
Method Summary
@@ -170,18 +179,31 @@ Method Detail
-
+
onCues
-void onCues(List <Cue > cues)
+@Deprecated
+default void onCues(List <Cue > cues)
+Deprecated.
+
+
Called when there is a change in the
Cues
.
-
cues
is in ascending order of priority. If any of the cue boxes overlap when
- displayed, the Cue
nearer the end of the list should be shown on top.
-
-Parameters:
-cues
- The Cues
. May be empty.
-
+ Both onCues(List)
and onCues(CueGroup)
are called when there is a change
+ in the cues. You should only implement one or the other.
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/text/package-summary.html
index 1e6f7816f15..9f515d1f740 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/text/package-summary.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/text/package-summary.html
@@ -163,36 +163,42 @@ Package com.google.android.exoplayer2.tex
+CueGroup
+
+Class to represent the state of active
Cues
at a particular time.
+
+
+
ExoplayerCuesDecoder
-
+
SimpleSubtitleDecoder
Base class for subtitle parsers that use their own decode thread.
-
+
SubtitleExtractor
Generic extractor for extracting subtitles from various subtitle formats.
-
+
SubtitleInputBuffer
-
+
SubtitleOutputBuffer
-
+
TextRenderer
A renderer for text.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/text/package-tree.html
index e8bf513d976..d308046b700 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/text/package-tree.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/text/package-tree.html
@@ -126,6 +126,7 @@ Class Hierarchy
com.google.android.exoplayer2.text.Cue.Builder
com.google.android.exoplayer2.text.CueDecoder
com.google.android.exoplayer2.text.CueEncoder
+com.google.android.exoplayer2.text.CueGroup (implements com.google.android.exoplayer2.Bundleable )
com.google.android.exoplayer2.text.ExoplayerCuesDecoder (implements com.google.android.exoplayer2.text.SubtitleDecoder )
com.google.android.exoplayer2.decoder.SimpleDecoder <I,O,E> (implements com.google.android.exoplayer2.decoder.Decoder <I,O,E>)
diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/webvtt/WebvttDecoder.html b/docs/doc/reference/com/google/android/exoplayer2/text/webvtt/WebvttDecoder.html
index c88988e76d8..b7cc4c701fb 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/text/webvtt/WebvttDecoder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/text/webvtt/WebvttDecoder.html
@@ -145,9 +145,7 @@ Class WebvttDecoder
public final class WebvttDecoder
extends SimpleSubtitleDecoder
-
+
See Also:
WebVTT specification
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.Builder.html
new file mode 100644
index 00000000000..4af33740898
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.Builder.html
@@ -0,0 +1,1883 @@
+
+
+
+
+DefaultTrackSelector.Parameters.Builder (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor
+Description
+
+
+Builder ()
+
+Deprecated.
+
+
+
+
+
+Builder (Context context)
+
+Creates a builder with default initial values.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods Deprecated Methods
+
+Modifier and Type
+Method
+Description
+
+
+DefaultTrackSelector.Parameters.Builder
+addOverride (TrackSelectionOverride override)
+
+Adds an override, replacing any override for the same
TrackGroup
.
+
+
+
+DefaultTrackSelector.Parameters
+build ()
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+clearOverride (TrackGroup trackGroup)
+
+Removes the override for the provided media
TrackGroup
, if there is one.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+clearOverrides ()
+
+Removes all overrides.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+clearOverridesOfType (@com.google.android.exoplayer2.C.TrackType int trackType)
+
+Removes all overrides of the provided track type.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+clearSelectionOverride (int rendererIndex,
+ TrackGroupArray groups)
+
+Deprecated.
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+clearSelectionOverrides ()
+
+Deprecated.
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+clearSelectionOverrides (int rendererIndex)
+
+Deprecated.
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+clearVideoSizeConstraints ()
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+clearViewportSizeConstraints ()
+
+
+
+
+
+protected DefaultTrackSelector.Parameters.Builder
+set (TrackSelectionParameters parameters)
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setAllowAudioMixedChannelCountAdaptiveness (boolean allowAudioMixedChannelCountAdaptiveness)
+
+Sets whether to allow adaptive audio selections containing mixed channel counts.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setAllowAudioMixedDecoderSupportAdaptiveness (boolean allowAudioMixedDecoderSupportAdaptiveness)
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setAllowAudioMixedMimeTypeAdaptiveness (boolean allowAudioMixedMimeTypeAdaptiveness)
+
+Sets whether to allow adaptive audio selections containing mixed MIME types.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setAllowAudioMixedSampleRateAdaptiveness (boolean allowAudioMixedSampleRateAdaptiveness)
+
+Sets whether to allow adaptive audio selections containing mixed sample rates.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setAllowMultipleAdaptiveSelections (boolean allowMultipleAdaptiveSelections)
+
+Sets whether multiple adaptive selections with more than one track are allowed.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setAllowVideoMixedDecoderSupportAdaptiveness (boolean allowVideoMixedDecoderSupportAdaptiveness)
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setAllowVideoMixedMimeTypeAdaptiveness (boolean allowVideoMixedMimeTypeAdaptiveness)
+
+Sets whether to allow adaptive video selections containing mixed MIME types.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setAllowVideoNonSeamlessAdaptiveness (boolean allowVideoNonSeamlessAdaptiveness)
+
+Sets whether to allow adaptive video selections where adaptation may not be completely
+ seamless.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setConstrainAudioChannelCountToDeviceCapabilities (boolean enabled)
+
+Whether to only select audio tracks with channel counts that don't exceed the device's
+ output capabilities.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setDisabledTextTrackSelectionFlags (@com.google.android.exoplayer2.C.SelectionFlags int disabledTextTrackSelectionFlags)
+
+Deprecated.
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setDisabledTrackTypes (Set <@TrackType Integer > disabledTrackTypes)
+
+Deprecated.
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setExceedAudioConstraintsIfNecessary (boolean exceedAudioConstraintsIfNecessary)
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setExceedRendererCapabilitiesIfNecessary (boolean exceedRendererCapabilitiesIfNecessary)
+
+Sets whether to exceed renderer capabilities when no selection can be made otherwise.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setExceedVideoConstraintsIfNecessary (boolean exceedVideoConstraintsIfNecessary)
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setForceHighestSupportedBitrate (boolean forceHighestSupportedBitrate)
+
+Sets whether to force selection of the highest bitrate audio and video tracks that comply
+ with all other constraints.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setForceLowestBitrate (boolean forceLowestBitrate)
+
+Sets whether to force selection of the single lowest bitrate audio and video tracks that
+ comply with all other constraints.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setIgnoredTextSelectionFlags (@com.google.android.exoplayer2.C.SelectionFlags int ignoredTextSelectionFlags)
+
+Sets a bitmask of selection flags that are ignored for text track selections.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMaxAudioBitrate (int maxAudioBitrate)
+
+Sets the maximum allowed audio bitrate.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMaxAudioChannelCount (int maxAudioChannelCount)
+
+Sets the maximum allowed audio channel count.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMaxVideoBitrate (int maxVideoBitrate)
+
+Sets the maximum allowed video bitrate.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMaxVideoFrameRate (int maxVideoFrameRate)
+
+Sets the maximum allowed video frame rate.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMaxVideoSize (int maxVideoWidth,
+ int maxVideoHeight)
+
+Sets the maximum allowed video width and height.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMaxVideoSizeSd ()
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMinVideoBitrate (int minVideoBitrate)
+
+Sets the minimum allowed video bitrate.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMinVideoFrameRate (int minVideoFrameRate)
+
+Sets the minimum allowed video frame rate.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setMinVideoSize (int minVideoWidth,
+ int minVideoHeight)
+
+Sets the minimum allowed video width and height.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setOverrideForType (TrackSelectionOverride override)
+
+Sets an override, replacing all existing overrides with the same track type.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredAudioLanguage (String preferredAudioLanguage)
+
+Sets the preferred language for audio and forced text tracks.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredAudioLanguages (String ... preferredAudioLanguages)
+
+Sets the preferred languages for audio and forced text tracks.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredAudioMimeType (String mimeType)
+
+Sets the preferred sample MIME type for audio tracks.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredAudioMimeTypes (String ... mimeTypes)
+
+Sets the preferred sample MIME types for audio tracks.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredAudioRoleFlags (@com.google.android.exoplayer2.C.RoleFlags int preferredAudioRoleFlags)
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredTextLanguage (String preferredTextLanguage)
+
+Sets the preferred language for text tracks.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings (Context context)
+
+Sets the preferred language and role flags for text tracks based on the accessibility
+ settings of
CaptioningManager
.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredTextLanguages (String ... preferredTextLanguages)
+
+Sets the preferred languages for text tracks.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredTextRoleFlags (@com.google.android.exoplayer2.C.RoleFlags int preferredTextRoleFlags)
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredVideoMimeType (String mimeType)
+
+Sets the preferred sample MIME type for video tracks.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredVideoMimeTypes (String ... mimeTypes)
+
+Sets the preferred sample MIME types for video tracks.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setPreferredVideoRoleFlags (@com.google.android.exoplayer2.C.RoleFlags int preferredVideoRoleFlags)
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setRendererDisabled (int rendererIndex,
+ boolean disabled)
+
+Sets whether the renderer at the specified index is disabled.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setSelectionOverride (int rendererIndex,
+ TrackGroupArray groups,
+ DefaultTrackSelector.SelectionOverride override)
+
+Deprecated.
+
+
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setSelectUndeterminedTextLanguage (boolean selectUndeterminedTextLanguage)
+
+Sets whether a text track with undetermined language should be selected if no track with
+
a preferred language
is available, or if the
+ preferred language is unset.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setTrackTypeDisabled (@com.google.android.exoplayer2.C.TrackType int trackType,
+ boolean disabled)
+
+Sets whether a track type is disabled.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setTunnelingEnabled (boolean tunnelingEnabled)
+
+Sets whether to enable tunneling if possible.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setViewportSize (int viewportWidth,
+ int viewportHeight,
+ boolean viewportOrientationMayChange)
+
+Sets the viewport size to constrain adaptive video selections so that only tracks suitable
+ for the viewport are selected.
+
+
+
+DefaultTrackSelector.Parameters.Builder
+setViewportSizeToPhysicalDisplaySize (Context context,
+ boolean viewportOrientationMayChange)
+
+
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+setAllowVideoNonSeamlessAdaptiveness
+public DefaultTrackSelector.Parameters.Builder setAllowVideoNonSeamlessAdaptiveness(boolean allowVideoNonSeamlessAdaptiveness)
+Sets whether to allow adaptive video selections where adaptation may not be completely
+ seamless.
+
+Parameters:
+allowVideoNonSeamlessAdaptiveness
- Whether to allow adaptive video selections where
+ adaptation may not be completely seamless.
+Returns:
+This builder.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+setViewportSize
+public DefaultTrackSelector.Parameters.Builder setViewportSize(int viewportWidth,
+ int viewportHeight,
+ boolean viewportOrientationMayChange)
+
+Sets the viewport size to constrain adaptive video selections so that only tracks suitable
+ for the viewport are selected.
+
+Overrides:
+setViewportSize
in class TrackSelectionParameters.Builder
+Parameters:
+viewportWidth
- Viewport width in pixels.
+viewportHeight
- Viewport height in pixels.
+viewportOrientationMayChange
- Whether the viewport orientation may change during
+ playback.
+Returns:
+This builder.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+setForceLowestBitrate
+public DefaultTrackSelector.Parameters.Builder setForceLowestBitrate(boolean forceLowestBitrate)
+
+Sets whether to force selection of the single lowest bitrate audio and video tracks that
+ comply with all other constraints.
+
+Overrides:
+setForceLowestBitrate
in class TrackSelectionParameters.Builder
+Parameters:
+forceLowestBitrate
- Whether to force selection of the single lowest bitrate audio and
+ video tracks.
+Returns:
+This builder.
+
+
+
+
+
+
+
+
+setForceHighestSupportedBitrate
+public DefaultTrackSelector.Parameters.Builder setForceHighestSupportedBitrate(boolean forceHighestSupportedBitrate)
+
+Sets whether to force selection of the highest bitrate audio and video tracks that comply
+ with all other constraints.
+
+Overrides:
+setForceHighestSupportedBitrate
in class TrackSelectionParameters.Builder
+Parameters:
+forceHighestSupportedBitrate
- Whether to force selection of the highest bitrate audio
+ and video tracks.
+Returns:
+This builder.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+setTrackTypeDisabled
+public DefaultTrackSelector.Parameters.Builder setTrackTypeDisabled(@com.google.android.exoplayer2.C.TrackType int trackType,
+ boolean disabled)
+
+Sets whether a track type is disabled. If disabled, no tracks of the specified type will be
+ selected for playback.
+
+Overrides:
+setTrackTypeDisabled
in class TrackSelectionParameters.Builder
+Parameters:
+trackType
- The track type.
+disabled
- Whether the track type should be disabled.
+Returns:
+This builder.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+setAllowMultipleAdaptiveSelections
+public DefaultTrackSelector.Parameters.Builder setAllowMultipleAdaptiveSelections(boolean allowMultipleAdaptiveSelections)
+Sets whether multiple adaptive selections with more than one track are allowed.
+
+Parameters:
+allowMultipleAdaptiveSelections
- Whether multiple adaptive selections are allowed.
+Returns:
+This builder.
+
+
+
+
+
+
+
+
+setRendererDisabled
+public DefaultTrackSelector.Parameters.Builder setRendererDisabled(int rendererIndex,
+ boolean disabled)
+Sets whether the renderer at the specified index is disabled. Disabling a renderer prevents
+ the selector from selecting any tracks for it.
+
+Parameters:
+rendererIndex
- The renderer index.
+disabled
- Whether the renderer is disabled.
+Returns:
+This builder.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html
index 60bac562a24..51beacedb29 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.Parameters.html
@@ -159,13 +159,21 @@ Class DefaultTra
Nested Class Summary
-
+
+boolean
+constrainAudioChannelCountToDeviceCapabilities
+
+Whether to constrain audio track selection so that the selected track's channel count does
+ not exceed the device's output capabilities.
+
+
+
static Bundleable.Creator <DefaultTrackSelector.Parameters >
CREATOR
Object that can restore
Parameters
from a
Bundle
.
-
+
static DefaultTrackSelector.Parameters
DEFAULT
@@ -262,20 +278,13 @@ Field Summary
-
+
static DefaultTrackSelector.Parameters
DEFAULT_WITHOUT_CONTEXT
An instance with default values, except those obtained from the
Context
.
-
-@com.google.android.exoplayer2.C.SelectionFlags int
-disabledTextTrackSelectionFlags
-
-Bitmask of selection flags that are disabled for text track selections.
-
-
boolean
exceedAudioConstraintsIfNecessary
@@ -311,7 +320,7 @@ Field Summary
Fields inherited from class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-disabledTrackTypes , forceHighestSupportedBitrate , forceLowestBitrate , maxAudioBitrate , maxAudioChannelCount , maxVideoBitrate , maxVideoFrameRate , maxVideoHeight , maxVideoWidth , minVideoBitrate , minVideoFrameRate , minVideoHeight , minVideoWidth , preferredAudioLanguages , preferredAudioMimeTypes , preferredAudioRoleFlags , preferredTextLanguages , preferredTextRoleFlags , preferredVideoMimeTypes , preferredVideoRoleFlags , selectUndeterminedTextLanguage , trackSelectionOverrides , viewportHeight , viewportOrientationMayChange , viewportWidth
+disabledTrackTypes , FIELD_CUSTOM_ID_BASE , forceHighestSupportedBitrate , forceLowestBitrate , ignoredTextSelectionFlags , maxAudioBitrate , maxAudioChannelCount , maxVideoBitrate , maxVideoFrameRate , maxVideoHeight , maxVideoWidth , minVideoBitrate , minVideoFrameRate , minVideoHeight , minVideoWidth , overrides , preferredAudioLanguages , preferredAudioMimeTypes , preferredAudioRoleFlags , preferredTextLanguages , preferredTextRoleFlags , preferredVideoMimeTypes , preferredVideoRoleFlags , selectUndeterminedTextLanguage , viewportHeight , viewportOrientationMayChange , viewportWidth
@@ -331,10 +340,10 @@ Method Summary
Description
-DefaultTrackSelector.ParametersBuilder
+DefaultTrackSelector.Parameters.Builder
buildUpon ()
-
+
@@ -362,7 +371,7 @@ Method Summary
TrackGroupArray groups)
Deprecated.
-
+
@@ -377,7 +386,7 @@ Method Summary
TrackGroupArray groups)
Deprecated.
-
+
@@ -390,6 +399,13 @@ Method Summary
+
-
-
-
-
@@ -555,6 +561,17 @@ allowAudioMixedDecoderSupportAdaptiveness
+
+
+
+
+
+constrainAudioChannelCountToDeviceCapabilities
+public final boolean constrainAudioChannelCountToDeviceCapabilities
+Whether to constrain audio track selection so that the selected track's channel count does
+ not exceed the device's output capabilities. The default value is true
.
+
+
@@ -632,7 +649,7 @@ getDefaults
getRendererDisabled
-public final boolean getRendererDisabled(int rendererIndex)
+public boolean getRendererDisabled(int rendererIndex)
Returns whether the renderer is disabled.
Parameters:
@@ -649,11 +666,10 @@ getRendererDisabled
hasSelectionOverride
@Deprecated
-public final boolean hasSelectionOverride(int rendererIndex,
- TrackGroupArray groups)
+public boolean hasSelectionOverride(int rendererIndex,
+ TrackGroupArray groups)
Deprecated.
-
+
Returns whether there is an override for the specified renderer and
TrackGroupArray
.
@@ -673,11 +689,10 @@ hasSelectionOverride
getSelectionOverride
@Deprecated
@Nullable
-public final DefaultTrackSelector.SelectionOverride getSelectionOverride(int rendererIndex,
- TrackGroupArray groups)
+public DefaultTrackSelector.SelectionOverride getSelectionOverride(int rendererIndex,
+ TrackGroupArray groups)
Deprecated.
-
+
@@ -695,8 +710,8 @@ getSelectionOverride
buildUpon
-public DefaultTrackSelector.ParametersBuilder buildUpon()
-
+public DefaultTrackSelector.Parameters.Builder buildUpon()
+
Overrides:
buildUpon
in class TrackSelectionParameters
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html
index 0cbfd472543..779b9803ca6 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.ParametersBuilder.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":42,"i2":42,"i3":42,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":42,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10};
+var data = {"i0":42,"i1":42,"i2":42,"i3":42,"i4":42,"i5":42,"i6":42,"i7":42,"i8":42,"i9":42,"i10":42,"i11":42,"i12":42,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":42,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":42,"i30":42,"i31":42,"i32":42,"i33":42,"i34":42,"i35":42,"i36":42,"i37":42,"i38":42,"i39":42,"i40":42,"i41":42,"i42":42,"i43":42,"i44":42,"i45":42,"i46":42,"i47":42,"i48":42,"i49":42,"i50":42,"i51":42,"i52":42,"i53":42,"i54":42,"i55":42};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -138,10 +138,12 @@ Class Def
DefaultTrackSelector
-public static final class DefaultTrackSelector.ParametersBuilder
+@Deprecated
+public static final class DefaultTrackSelector.ParametersBuilder
extends TrackSelectionParameters.Builder
-
+Deprecated.
+
+
@@ -172,6 +174,7 @@ Constructor Summary
ParametersBuilder (Context context)
+Deprecated.
Creates a builder with default initial values.
@@ -194,379 +197,475 @@ Method Summary
Description
+DefaultTrackSelector.ParametersBuilder
+addOverride (TrackSelectionOverride override)
+
+Deprecated.
+Adds an override, replacing any override for the same
TrackGroup
.
+
+
+
DefaultTrackSelector.Parameters
build ()
+Deprecated.
-
+
+DefaultTrackSelector.ParametersBuilder
+clearOverride (TrackGroup trackGroup)
+
+Deprecated.
+Removes the override for the provided media
TrackGroup
, if there is one.
+
+
+
+DefaultTrackSelector.ParametersBuilder
+clearOverrides ()
+
+Deprecated.
+Removes all overrides.
+
+
+
+DefaultTrackSelector.ParametersBuilder
+clearOverridesOfType (@com.google.android.exoplayer2.C.TrackType int trackType)
+
+Deprecated.
+Removes all overrides of the provided track type.
+
+
+
DefaultTrackSelector.ParametersBuilder
clearSelectionOverride (int rendererIndex,
TrackGroupArray groups)
Deprecated.
-
+
-
+
DefaultTrackSelector.ParametersBuilder
clearSelectionOverrides ()
Deprecated.
-
+
-
+
DefaultTrackSelector.ParametersBuilder
clearSelectionOverrides (int rendererIndex)
Deprecated.
-
+
-
+
DefaultTrackSelector.ParametersBuilder
clearVideoSizeConstraints ()
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
clearViewportSizeConstraints ()
+Deprecated.
-
+
protected DefaultTrackSelector.ParametersBuilder
set (TrackSelectionParameters parameters)
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setAllowAudioMixedChannelCountAdaptiveness (boolean allowAudioMixedChannelCountAdaptiveness)
+Deprecated.
Sets whether to allow adaptive audio selections containing mixed channel counts.
-
+
DefaultTrackSelector.ParametersBuilder
setAllowAudioMixedDecoderSupportAdaptiveness (boolean allowAudioMixedDecoderSupportAdaptiveness)
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setAllowAudioMixedMimeTypeAdaptiveness (boolean allowAudioMixedMimeTypeAdaptiveness)
+Deprecated.
Sets whether to allow adaptive audio selections containing mixed MIME types.
-
+
DefaultTrackSelector.ParametersBuilder
setAllowAudioMixedSampleRateAdaptiveness (boolean allowAudioMixedSampleRateAdaptiveness)
+Deprecated.
Sets whether to allow adaptive audio selections containing mixed sample rates.
-
+
DefaultTrackSelector.ParametersBuilder
setAllowMultipleAdaptiveSelections (boolean allowMultipleAdaptiveSelections)
+Deprecated.
Sets whether multiple adaptive selections with more than one track are allowed.
-
+
DefaultTrackSelector.ParametersBuilder
setAllowVideoMixedDecoderSupportAdaptiveness (boolean allowVideoMixedDecoderSupportAdaptiveness)
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setAllowVideoMixedMimeTypeAdaptiveness (boolean allowVideoMixedMimeTypeAdaptiveness)
+Deprecated.
Sets whether to allow adaptive video selections containing mixed MIME types.
-
+
DefaultTrackSelector.ParametersBuilder
setAllowVideoNonSeamlessAdaptiveness (boolean allowVideoNonSeamlessAdaptiveness)
+Deprecated.
Sets whether to allow adaptive video selections where adaptation may not be completely
seamless.
-
+
DefaultTrackSelector.ParametersBuilder
setDisabledTextTrackSelectionFlags (@com.google.android.exoplayer2.C.SelectionFlags int disabledTextTrackSelectionFlags)
-Sets a bitmask of selection flags that are disabled for text track selections.
+Deprecated.
+
+
-
+
DefaultTrackSelector.ParametersBuilder
setDisabledTrackTypes (Set <@TrackType Integer > disabledTrackTypes)
-Sets the disabled track types, preventing all tracks of those types from being selected for
- playback.
+Deprecated.
+
+
-
+
DefaultTrackSelector.ParametersBuilder
setExceedAudioConstraintsIfNecessary (boolean exceedAudioConstraintsIfNecessary)
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setExceedRendererCapabilitiesIfNecessary (boolean exceedRendererCapabilitiesIfNecessary)
+Deprecated.
Sets whether to exceed renderer capabilities when no selection can be made otherwise.
-
+
DefaultTrackSelector.ParametersBuilder
setExceedVideoConstraintsIfNecessary (boolean exceedVideoConstraintsIfNecessary)
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setForceHighestSupportedBitrate (boolean forceHighestSupportedBitrate)
+Deprecated.
Sets whether to force selection of the highest bitrate audio and video tracks that comply
with all other constraints.
-
+
DefaultTrackSelector.ParametersBuilder
setForceLowestBitrate (boolean forceLowestBitrate)
+Deprecated.
Sets whether to force selection of the single lowest bitrate audio and video tracks that
comply with all other constraints.
-
+
+DefaultTrackSelector.ParametersBuilder
+setIgnoredTextSelectionFlags (@com.google.android.exoplayer2.C.SelectionFlags int ignoredTextSelectionFlags)
+
+Deprecated.
+Sets a bitmask of selection flags that are ignored for text track selections.
+
+
+
DefaultTrackSelector.ParametersBuilder
setMaxAudioBitrate (int maxAudioBitrate)
+Deprecated.
Sets the maximum allowed audio bitrate.
-
+
DefaultTrackSelector.ParametersBuilder
setMaxAudioChannelCount (int maxAudioChannelCount)
+Deprecated.
Sets the maximum allowed audio channel count.
-
+
DefaultTrackSelector.ParametersBuilder
setMaxVideoBitrate (int maxVideoBitrate)
+Deprecated.
Sets the maximum allowed video bitrate.
-
+
DefaultTrackSelector.ParametersBuilder
setMaxVideoFrameRate (int maxVideoFrameRate)
+Deprecated.
Sets the maximum allowed video frame rate.
-
+
DefaultTrackSelector.ParametersBuilder
setMaxVideoSize (int maxVideoWidth,
int maxVideoHeight)
+Deprecated.
Sets the maximum allowed video width and height.
-
+
DefaultTrackSelector.ParametersBuilder
setMaxVideoSizeSd ()
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setMinVideoBitrate (int minVideoBitrate)
+Deprecated.
Sets the minimum allowed video bitrate.
-
+
DefaultTrackSelector.ParametersBuilder
setMinVideoFrameRate (int minVideoFrameRate)
+Deprecated.
Sets the minimum allowed video frame rate.
-
+
DefaultTrackSelector.ParametersBuilder
setMinVideoSize (int minVideoWidth,
int minVideoHeight)
+Deprecated.
Sets the minimum allowed video width and height.
-
+
+DefaultTrackSelector.ParametersBuilder
+setOverrideForType (TrackSelectionOverride override)
+
+Deprecated.
+Sets an override, replacing all existing overrides with the same track type.
+
+
+
DefaultTrackSelector.ParametersBuilder
setPreferredAudioLanguage (String preferredAudioLanguage)
+Deprecated.
Sets the preferred language for audio and forced text tracks.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredAudioLanguages (String ... preferredAudioLanguages)
+Deprecated.
Sets the preferred languages for audio and forced text tracks.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredAudioMimeType (String mimeType)
+Deprecated.
Sets the preferred sample MIME type for audio tracks.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredAudioMimeTypes (String ... mimeTypes)
+Deprecated.
Sets the preferred sample MIME types for audio tracks.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredAudioRoleFlags (@com.google.android.exoplayer2.C.RoleFlags int preferredAudioRoleFlags)
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredTextLanguage (String preferredTextLanguage)
+Deprecated.
Sets the preferred language for text tracks.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings (Context context)
+Deprecated.
Sets the preferred language and role flags for text tracks based on the accessibility
settings of
CaptioningManager
.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredTextLanguages (String ... preferredTextLanguages)
+Deprecated.
Sets the preferred languages for text tracks.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredTextRoleFlags (@com.google.android.exoplayer2.C.RoleFlags int preferredTextRoleFlags)
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredVideoMimeType (String mimeType)
+Deprecated.
Sets the preferred sample MIME type for video tracks.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredVideoMimeTypes (String ... mimeTypes)
+Deprecated.
Sets the preferred sample MIME types for video tracks.
-
+
DefaultTrackSelector.ParametersBuilder
setPreferredVideoRoleFlags (@com.google.android.exoplayer2.C.RoleFlags int preferredVideoRoleFlags)
+Deprecated.
-
+
DefaultTrackSelector.ParametersBuilder
setRendererDisabled (int rendererIndex,
boolean disabled)
+Deprecated.
Sets whether the renderer at the specified index is disabled.
-
+
DefaultTrackSelector.ParametersBuilder
setSelectionOverride (int rendererIndex,
TrackGroupArray groups,
DefaultTrackSelector.SelectionOverride override)
Deprecated.
-
+
-
+
DefaultTrackSelector.ParametersBuilder
setSelectUndeterminedTextLanguage (boolean selectUndeterminedTextLanguage)
+Deprecated.
Sets whether a text track with undetermined language should be selected if no track with
a preferred language
is available, or if the
preferred language is unset.
-
+
DefaultTrackSelector.ParametersBuilder
-setTrackSelectionOverrides (TrackSelectionOverrides trackSelectionOverrides)
+setTrackTypeDisabled (@com.google.android.exoplayer2.C.TrackType int trackType,
+ boolean disabled)
-Sets the selection overrides.
+Deprecated.
+Sets whether a track type is disabled.
-
+
DefaultTrackSelector.ParametersBuilder
setTunnelingEnabled (boolean tunnelingEnabled)
+Deprecated.
Sets whether to enable tunneling if possible.
-
+
DefaultTrackSelector.ParametersBuilder
setViewportSize (int viewportWidth,
int viewportHeight,
boolean viewportOrientationMayChange)
+Deprecated.
Sets the viewport size to constrain adaptive video selections so that only tracks suitable
for the viewport are selected.
-
+
DefaultTrackSelector.ParametersBuilder
setViewportSizeToPhysicalDisplaySize (Context context,
boolean viewportOrientationMayChange)
+Deprecated.
@@ -615,6 +714,7 @@ ParametersBuilder
ParametersBuilder
public ParametersBuilder(Context context)
+Deprecated.
Creates a builder with default initial values.
Parameters:
@@ -639,6 +739,7 @@ Method Detail
set
protected DefaultTrackSelector.ParametersBuilder set(TrackSelectionParameters parameters)
+Deprecated.
@@ -654,6 +755,7 @@ set
setMaxVideoSizeSd
public DefaultTrackSelector.ParametersBuilder setMaxVideoSizeSd()
+Deprecated.
@@ -671,6 +773,7 @@ setMaxVideoSizeSd
clearVideoSizeConstraints
public DefaultTrackSelector.ParametersBuilder clearVideoSizeConstraints()
+Deprecated.
@@ -689,6 +792,7 @@ clearVideoSizeConstraints
setMaxVideoSize
public DefaultTrackSelector.ParametersBuilder setMaxVideoSize(int maxVideoWidth,
int maxVideoHeight)
+Deprecated.
Sets the maximum allowed video width and height.
@@ -709,6 +813,7 @@ setMaxVideoSize
setMaxVideoFrameRate
public DefaultTrackSelector.ParametersBuilder setMaxVideoFrameRate(int maxVideoFrameRate)
+Deprecated.
Sets the maximum allowed video frame rate.
@@ -728,6 +833,7 @@ setMaxVideoFrameRate
setMaxVideoBitrate
public DefaultTrackSelector.ParametersBuilder setMaxVideoBitrate(int maxVideoBitrate)
+Deprecated.
Sets the maximum allowed video bitrate.
@@ -748,6 +854,7 @@ setMaxVideoBitrate
setMinVideoSize
public DefaultTrackSelector.ParametersBuilder setMinVideoSize(int minVideoWidth,
int minVideoHeight)
+Deprecated.
Sets the minimum allowed video width and height.
@@ -768,6 +875,7 @@ setMinVideoSize
setMinVideoFrameRate
public DefaultTrackSelector.ParametersBuilder setMinVideoFrameRate(int minVideoFrameRate)
+Deprecated.
Sets the minimum allowed video frame rate.
@@ -787,6 +895,7 @@ setMinVideoFrameRate
setMinVideoBitrate
public DefaultTrackSelector.ParametersBuilder setMinVideoBitrate(int minVideoBitrate)
+Deprecated.
Sets the minimum allowed video bitrate.
@@ -806,6 +915,7 @@ setMinVideoBitrate
setExceedVideoConstraintsIfNecessary
public DefaultTrackSelector.ParametersBuilder setExceedVideoConstraintsIfNecessary(boolean exceedVideoConstraintsIfNecessary)
+Deprecated.
@@ -824,6 +934,7 @@ setExceedVideoConstraintsIfNecessary
setAllowVideoMixedMimeTypeAdaptiveness
public DefaultTrackSelector.ParametersBuilder setAllowVideoMixedMimeTypeAdaptiveness(boolean allowVideoMixedMimeTypeAdaptiveness)
+Deprecated.
Sets whether to allow adaptive video selections containing mixed MIME types.
Adaptations between different MIME types may not be completely seamless, in which case
@@ -845,6 +956,7 @@
setAllowVideoMixedMimeTypeAdaptiveness
setAllowVideoNonSeamlessAdaptiveness
public DefaultTrackSelector.ParametersBuilder setAllowVideoNonSeamlessAdaptiveness(boolean allowVideoNonSeamlessAdaptiveness)
+Deprecated.
Sets whether to allow adaptive video selections where adaptation may not be completely
seamless.
@@ -863,6 +975,7 @@ setAllowVideoNonSeamlessAdaptiveness
setAllowVideoMixedDecoderSupportAdaptiveness
public DefaultTrackSelector.ParametersBuilder setAllowVideoMixedDecoderSupportAdaptiveness(boolean allowVideoMixedDecoderSupportAdaptiveness)
+Deprecated.
Parameters:
@@ -881,6 +994,7 @@ setAllowVideoMixedDecoderSupportAdaptiveness
setViewportSizeToPhysicalDisplaySize
public DefaultTrackSelector.ParametersBuilder setViewportSizeToPhysicalDisplaySize(Context context,
boolean viewportOrientationMayChange)
+Deprecated.
@@ -903,6 +1017,7 @@ setViewportSizeToPhysicalDisplaySize
clearViewportSizeConstraints
public DefaultTrackSelector.ParametersBuilder clearViewportSizeConstraints()
+Deprecated.
@@ -923,6 +1038,7 @@ setViewportSize
public DefaultTrackSelector.ParametersBuilder setViewportSize(int viewportWidth,
int viewportHeight,
boolean viewportOrientationMayChange)
+Deprecated.
Sets the viewport size to constrain adaptive video selections so that only tracks suitable
for the viewport are selected.
@@ -947,6 +1063,7 @@ setViewportSize
setPreferredVideoMimeType
public DefaultTrackSelector.ParametersBuilder setPreferredVideoMimeType(@Nullable
String mimeType)
+Deprecated.
Sets the preferred sample MIME type for video tracks.
@@ -967,6 +1084,7 @@ setPreferredVideoMimeType
setPreferredVideoMimeTypes
public DefaultTrackSelector.ParametersBuilder setPreferredVideoMimeTypes(String ... mimeTypes)
+Deprecated.
Sets the preferred sample MIME types for video tracks.
@@ -988,6 +1106,7 @@ setPreferredVideoMimeTypes
setPreferredVideoRoleFlags
public DefaultTrackSelector.ParametersBuilder setPreferredVideoRoleFlags(@RoleFlags
@com.google.android.exoplayer2.C.RoleFlags int preferredVideoRoleFlags)
+Deprecated.
@@ -1008,6 +1127,7 @@ setPreferredVideoRoleFlags
setPreferredAudioLanguage
public DefaultTrackSelector.ParametersBuilder setPreferredAudioLanguage(@Nullable
String preferredAudioLanguage)
+Deprecated.
Sets the preferred language for audio and forced text tracks.
@@ -1028,6 +1148,7 @@ setPreferredAudioLanguage
setPreferredAudioLanguages
public DefaultTrackSelector.ParametersBuilder setPreferredAudioLanguages(String ... preferredAudioLanguages)
+Deprecated.
Sets the preferred languages for audio and forced text tracks.
@@ -1050,6 +1171,7 @@ setPreferredAudioLanguages
setPreferredAudioRoleFlags
public DefaultTrackSelector.ParametersBuilder setPreferredAudioRoleFlags(@RoleFlags
@com.google.android.exoplayer2.C.RoleFlags int preferredAudioRoleFlags)
+Deprecated.
@@ -1069,6 +1191,7 @@ setPreferredAudioRoleFlags
setMaxAudioChannelCount
public DefaultTrackSelector.ParametersBuilder setMaxAudioChannelCount(int maxAudioChannelCount)
+Deprecated.
Sets the maximum allowed audio channel count.
@@ -1088,6 +1211,7 @@ setMaxAudioChannelCount
setMaxAudioBitrate
public DefaultTrackSelector.ParametersBuilder setMaxAudioBitrate(int maxAudioBitrate)
+Deprecated.
Sets the maximum allowed audio bitrate.
@@ -1107,6 +1231,7 @@ setMaxAudioBitrate
setExceedAudioConstraintsIfNecessary
public DefaultTrackSelector.ParametersBuilder setExceedAudioConstraintsIfNecessary(boolean exceedAudioConstraintsIfNecessary)
+Deprecated.
Parameters:
@@ -1124,6 +1249,7 @@ setExceedAudioConstraintsIfNecessary
setAllowAudioMixedMimeTypeAdaptiveness
public DefaultTrackSelector.ParametersBuilder setAllowAudioMixedMimeTypeAdaptiveness(boolean allowAudioMixedMimeTypeAdaptiveness)
+Deprecated.
Sets whether to allow adaptive audio selections containing mixed MIME types.
Adaptations between different MIME types may not be completely seamless.
@@ -1143,6 +1269,7 @@ setAllowAudioMixedMimeTypeAdaptiveness
setAllowAudioMixedSampleRateAdaptiveness
public DefaultTrackSelector.ParametersBuilder setAllowAudioMixedSampleRateAdaptiveness(boolean allowAudioMixedSampleRateAdaptiveness)
+Deprecated.
Sets whether to allow adaptive audio selections containing mixed sample rates.
Adaptations between different sample rates may not be completely seamless.
@@ -1162,6 +1289,7 @@ setAllowAudioMixedSampleRateAdaptiveness
setAllowAudioMixedChannelCountAdaptiveness
public DefaultTrackSelector.ParametersBuilder setAllowAudioMixedChannelCountAdaptiveness(boolean allowAudioMixedChannelCountAdaptiveness)
+Deprecated.
Sets whether to allow adaptive audio selections containing mixed channel counts.
Adaptations between different channel counts may not be completely seamless.
@@ -1181,6 +1309,7 @@ setAllowAudioMixedChannelCountAdaptiveness
setAllowAudioMixedDecoderSupportAdaptiveness
public DefaultTrackSelector.ParametersBuilder setAllowAudioMixedDecoderSupportAdaptiveness(boolean allowAudioMixedDecoderSupportAdaptiveness)
+Deprecated.
Parameters:
@@ -1199,6 +1328,7 @@ setAllowAudioMixedDecoderSupportAdaptiveness
setPreferredAudioMimeType
public DefaultTrackSelector.ParametersBuilder setPreferredAudioMimeType(@Nullable
String mimeType)
+Deprecated.
Sets the preferred sample MIME type for audio tracks.
@@ -1219,6 +1349,7 @@ setPreferredAudioMimeType
setPreferredAudioMimeTypes
public DefaultTrackSelector.ParametersBuilder setPreferredAudioMimeTypes(String ... mimeTypes)
+Deprecated.
Sets the preferred sample MIME types for audio tracks.
@@ -1239,6 +1370,7 @@ setPreferredAudioMimeTypes
setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings
public DefaultTrackSelector.ParametersBuilder setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings(Context context)
+Deprecated.
Sets the preferred language and role flags for text tracks based on the accessibility
settings of
CaptioningManager
.
@@ -1262,6 +1394,7 @@
setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings
setPreferredTextLanguage
public DefaultTrackSelector.ParametersBuilder setPreferredTextLanguage(@Nullable
String preferredTextLanguage)
+
Deprecated.
Sets the preferred language for text tracks.
@@ -1282,6 +1415,7 @@ setPreferredTextLanguage
setPreferredTextLanguages
public DefaultTrackSelector.ParametersBuilder setPreferredTextLanguages(String ... preferredTextLanguages)
+Deprecated.
Sets the preferred languages for text tracks.
@@ -1304,6 +1438,7 @@ setPreferredTextLanguages
setPreferredTextRoleFlags
public DefaultTrackSelector.ParametersBuilder setPreferredTextRoleFlags(@RoleFlags
@com.google.android.exoplayer2.C.RoleFlags int preferredTextRoleFlags)
+Deprecated.
@@ -1316,6 +1451,28 @@ setPreferredTextRoleFlags
+
+
+
+
@@ -1323,6 +1480,7 @@
setPreferredTextRoleFlags
setSelectUndeterminedTextLanguage
public DefaultTrackSelector.ParametersBuilder setSelectUndeterminedTextLanguage(boolean selectUndeterminedTextLanguage)
+Deprecated.
Sets whether a text track with undetermined language should be selected if no track with
a preferred language
is available, or if the
@@ -1344,16 +1502,12 @@
setSelectUndeterminedTextLanguage
@@ -1363,6 +1517,7 @@ setDisabledTextTrackSelectionFlags
setForceLowestBitrate
public DefaultTrackSelector.ParametersBuilder setForceLowestBitrate(boolean forceLowestBitrate)
+Deprecated.
Sets whether to force selection of the single lowest bitrate audio and video tracks that
comply with all other constraints.
@@ -1384,6 +1539,7 @@ setForceLowestBitrate
setForceHighestSupportedBitrate
public DefaultTrackSelector.ParametersBuilder setForceHighestSupportedBitrate(boolean forceHighestSupportedBitrate)
+Deprecated.
Sets whether to force selection of the highest bitrate audio and video tracks that comply
with all other constraints.
@@ -1398,22 +1554,83 @@ setForceHighestSupportedBitrate
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1423,10 +1640,14 @@
setTrackSelectionOverrides
Overrides:
setDisabledTrackTypes
in class TrackSelectionParameters.Builder
@@ -1437,6 +1658,29 @@ setDisabledTrackTypes
+
+
+
+
+
+setTrackTypeDisabled
+public DefaultTrackSelector.ParametersBuilder setTrackTypeDisabled(@com.google.android.exoplayer2.C.TrackType int trackType,
+ boolean disabled)
+Deprecated.
+
+Sets whether a track type is disabled. If disabled, no tracks of the specified type will be
+ selected for playback.
+
+Overrides:
+setTrackTypeDisabled
in class TrackSelectionParameters.Builder
+Parameters:
+trackType
- The track type.
+disabled
- Whether the track type should be disabled.
+Returns:
+This builder.
+
+
+
@@ -1444,6 +1688,7 @@
setDisabledTrackTypes
setExceedRendererCapabilitiesIfNecessary
public DefaultTrackSelector.ParametersBuilder setExceedRendererCapabilitiesIfNecessary(boolean exceedRendererCapabilitiesIfNecessary)
+Deprecated.
Sets whether to exceed renderer capabilities when no selection can be made otherwise.
This parameter applies when all of the tracks available for a renderer exceed the
@@ -1466,11 +1711,12 @@
setExceedRendererCapabilitiesIfNecessary
setTunnelingEnabled
public DefaultTrackSelector.ParametersBuilder setTunnelingEnabled(boolean tunnelingEnabled)
+Deprecated.
Sets whether to enable tunneling if possible. Tunneling will only be enabled if it's
supported by the audio and video renderers for the selected tracks.
Tunneling is known to have many device specific issues and limitations. Manual testing is
- strongly recomended to check that the media plays correctly when this option is enabled. See
+ strongly recommended to check that the media plays correctly when this option is enabled. See
[#9661](https://github.com/google/ExoPlayer/issues/9661),
[#9133](https://github.com/google/ExoPlayer/issues/9133),
[#9317](https://github.com/google/ExoPlayer/issues/9317),
@@ -1490,6 +1736,7 @@
setTunnelingEnabled
setAllowMultipleAdaptiveSelections
public DefaultTrackSelector.ParametersBuilder setAllowMultipleAdaptiveSelections(boolean allowMultipleAdaptiveSelections)
+Deprecated.
Sets whether multiple adaptive selections with more than one track are allowed.
Parameters:
@@ -1505,8 +1752,9 @@ setAllowMultipleAdaptiveSelections
setRendererDisabled
-public final DefaultTrackSelector.ParametersBuilder setRendererDisabled(int rendererIndex,
- boolean disabled)
+public DefaultTrackSelector.ParametersBuilder setRendererDisabled(int rendererIndex,
+ boolean disabled)
+Deprecated.
Sets whether the renderer at the specified index is disabled. Disabling a renderer prevents
the selector from selecting any tracks for it.
@@ -1525,12 +1773,12 @@ setRendererDisabled
setSelectionOverride
@Deprecated
-public final DefaultTrackSelector.ParametersBuilder setSelectionOverride(int rendererIndex,
- TrackGroupArray groups,
- @Nullable
- DefaultTrackSelector.SelectionOverride override)
+public DefaultTrackSelector.ParametersBuilder setSelectionOverride(int rendererIndex,
+ TrackGroupArray groups,
+ @Nullable
+ DefaultTrackSelector.SelectionOverride override)
Deprecated.
-
+
Overrides the track selection for the renderer at the specified index.
@@ -1562,10 +1810,10 @@
setSelectionOverride
clearSelectionOverride
@Deprecated
-public final DefaultTrackSelector.ParametersBuilder clearSelectionOverride(int rendererIndex,
- TrackGroupArray groups)
+public DefaultTrackSelector.ParametersBuilder clearSelectionOverride(int rendererIndex,
+ TrackGroupArray groups)
Deprecated.
-
+
Clears a track selection override for the specified renderer and
TrackGroupArray
.
@@ -1584,9 +1832,9 @@ clearSelectionOverride
clearSelectionOverrides
@Deprecated
-public final DefaultTrackSelector.ParametersBuilder clearSelectionOverrides(int rendererIndex)
+public DefaultTrackSelector.ParametersBuilder clearSelectionOverrides(int rendererIndex)
Deprecated.
-
+
Clears all track selection overrides for the specified renderer.
@@ -1604,9 +1852,9 @@ clearSelectionOverrides
clearSelectionOverrides
@Deprecated
-public final DefaultTrackSelector.ParametersBuilder clearSelectionOverrides()
+public DefaultTrackSelector.ParametersBuilder clearSelectionOverrides()
Deprecated.
-
+
Clears all track selection overrides for all renderers.
@@ -1622,6 +1870,7 @@ clearSelectionOverrides
build
public DefaultTrackSelector.Parameters build()
+Deprecated.
Overrides:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html
index c0de0d7dec4..1a9b563400a 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":9,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
-var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var data = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":9,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":42,"i16":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -159,11 +159,10 @@ Modifying parameters
.setMaxVideoSizeSd()
.setPreferredAudioLanguage("de")
.build());
-
Some specialized parameters are only available in the extended DefaultTrackSelector.Parameters
class, which
- can be retrieved and modified in a similar way in this track selector:
+ can be retrieved and modified in a similar way by calling methods directly on this class:
defaultTrackSelector.setParameters(
@@ -171,7 +170,6 @@ Modifying parameters
.buildUpon()
.setTunnelingEnabled(true)
.build());
-
@@ -204,7 +202,9 @@ Nested Class Summary
static class
DefaultTrackSelector.ParametersBuilder
-
+Deprecated.
+
+
@@ -254,6 +254,11 @@ Field Summary
Description
+Context
+context
+
+
+
protected static int
SELECTION_ELIGIBILITY_ADAPTIVE
@@ -261,14 +266,14 @@ Field Summary
tracks.
-
+
protected static int
SELECTION_ELIGIBILITY_FIXED
Track is eligible for a fixed selection with one track.
-
+
protected static int
SELECTION_ELIGIBILITY_NO
@@ -310,15 +315,23 @@ Constructor Summary
-DefaultTrackSelector (DefaultTrackSelector.Parameters parameters,
- ExoTrackSelection.Factory trackSelectionFactory)
+DefaultTrackSelector (Context context,
+ TrackSelectionParameters parameters)
-DefaultTrackSelector (ExoTrackSelection.Factory trackSelectionFactory)
+DefaultTrackSelector (Context context,
+ TrackSelectionParameters parameters,
+ ExoTrackSelection.Factory trackSelectionFactory)
+
+
+
+DefaultTrackSelector (TrackSelectionParameters parameters,
+ ExoTrackSelection.Factory trackSelectionFactory)
Deprecated.
-
+
@@ -334,17 +347,17 @@ Constructor Summary
Method Summary
-All Methods Static Methods Instance Methods Concrete Methods
+All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type
Method
Description
-DefaultTrackSelector.ParametersBuilder
+DefaultTrackSelector.Parameters.Builder
buildUponParameters ()
-
+
@@ -387,6 +400,13 @@ Method Summary
+void
+release ()
+
+Called by the player to release the selector.
+
+
+
protected @NullableType ExoTrackSelection.Definition []
selectAllTracks (MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
@com.google.android.exoplayer2.RendererCapabilities.Capabilities int[][][] rendererFormatSupports,
@@ -398,7 +418,7 @@ Method Summary
applied.
-
+
protected Pair <ExoTrackSelection.Definition ,Integer >
selectAudioTrack (MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
@com.google.android.exoplayer2.RendererCapabilities.Capabilities int[][][] rendererFormatSupports,
@@ -409,7 +429,7 @@ Method Summary
ExoTrackSelection.Definition
for an audio track selection.
-
+
protected ExoTrackSelection.Definition
selectOtherTrack (int trackType,
TrackGroupArray groups,
@@ -420,7 +440,7 @@ Method Summary
ExoTrackSelection
for a renderer whose type is neither video, audio or text.
-
+
protected Pair <ExoTrackSelection.Definition ,Integer >
selectTextTrack (MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
@com.google.android.exoplayer2.RendererCapabilities.Capabilities int[][][] rendererFormatSupports,
@@ -431,7 +451,7 @@ Method Summary
ExoTrackSelection.Definition
for a text track selection.
-
+
protected Pair <@NullableType RendererConfiguration [],@NullableType ExoTrackSelection []>
selectTracks (MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
@com.google.android.exoplayer2.RendererCapabilities.Capabilities int[][][] rendererFormatSupports,
@@ -442,7 +462,7 @@ Method Summary
Given mapped track information, returns a track selection and configuration for each renderer.
-
+
protected Pair <ExoTrackSelection.Definition ,Integer >
selectVideoTrack (MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
@com.google.android.exoplayer2.RendererCapabilities.Capabilities int[][][] rendererFormatSupports,
@@ -453,14 +473,30 @@ Method Summary
ExoTrackSelection.Definition
for a video track selection.
-
+
void
-setParameters (DefaultTrackSelector.ParametersBuilder parametersBuilder)
+setAudioAttributes (AudioAttributes audioAttributes)
+
+Called by the player to set the
AudioAttributes
that will be used for playback.
+
+
+
+void
+setParameters (DefaultTrackSelector.Parameters.Builder parametersBuilder)
Atomically sets the provided parameters for track selection.
-
+
+void
+setParameters (DefaultTrackSelector.ParametersBuilder parametersBuilder)
+
+Deprecated.
+
+
+
+
+
void
setParameters (TrackSelectionParameters parameters)
@@ -536,7 +572,7 @@ SELECTION_ELIGIBILITY_FIXED
-
@@ -571,58 +617,77 @@ DefaultTrackSelector
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.TrackSelectionOverride.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverride.html
similarity index 83%
rename from docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.TrackSelectionOverride.html
rename to docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverride.html
index 5e169b416b8..dc71f4feddc 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.TrackSelectionOverride.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverride.html
@@ -2,7 +2,7 @@
-TrackSelectionOverrides.TrackSelectionOverride (ExoPlayer library)
+TrackSelectionOverride (ExoPlayer library)
@@ -19,7 +19,7 @@
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.DefaultCodec
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor
+Description
+
+
+DefaultCodec (Format configurationFormat,
+ MediaFormat configurationMediaFormat,
+ String mediaCodecName,
+ boolean isDecoder,
+ Surface outputSurface)
+
+Creates a DefaultCodec
.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultEncoderFactory.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultEncoderFactory.html
new file mode 100644
index 00000000000..db0ac527c18
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/DefaultEncoderFactory.html
@@ -0,0 +1,479 @@
+
+
+
+
+DefaultEncoderFactory (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.DefaultEncoderFactory
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderSelector.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderSelector.html
new file mode 100644
index 00000000000..00cd47d8bf9
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderSelector.html
@@ -0,0 +1,306 @@
+
+
+
+
+EncoderSelector (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+selectEncoderInfos
+List <MediaCodecInfo > selectEncoderInfos(String mimeType)
+Returns a list of encoders that can encode media in the specified mimeType
, in priority
+ order.
+
+Parameters:
+mimeType
- The MIME type for which an encoder is required.
+Returns:
+An unmodifiable list of encoders that support the
+ mimeType
. The list may be empty.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html
index 6e6c60ebc10..0696579f127 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":9,"i1":9,"i2":9,"i3":9};
+var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -87,13 +87,13 @@
@@ -138,6 +138,31 @@ Class EncoderUtil
+
+
+
+
+
+
+Field Summary
+
+Fields
+
+Modifier and Type
+Field
+Description
+
+
+static int
+LEVEL_UNSET
+
+A value to indicate the encoding level is not set.
+
+
+
+
+
+
@@ -153,41 +178,132 @@ Method Summary
Description
-static int
-getClosestSupportedBitrate (MediaCodecInfo encoderInfo,
- String mimeType,
- int bitrate)
+static String
+findCodecForFormat (MediaFormat format,
+ boolean isDecoder)
-Finds the
encoder
's closest supported bitrate from the given bitrate.
+
-static Pair <Integer ,Integer >
-getClosestSupportedResolution (MediaCodecInfo encoderInfo,
- String mimeType,
- int width,
- int height)
+static int
+findHighestSupportedEncodingLevel (MediaCodecInfo encoderInfo,
+ String mimeType,
+ int profile)
-Finds the
encoder
's closest supported resolution from the given
- resolution.
+Finds the highest supported encoding level given a profile.
+static ImmutableSet <Integer >
+findSupportedEncodingProfiles (MediaCodecInfo encoderInfo,
+ String mimeType)
+
+
+
+
+
+static int
+getMaxSupportedInstances (MediaCodecInfo encoderInfo,
+ String mimeType)
+
+Returns the number of max number of the supported concurrent codec instances.
+
+
+
+static Range <Integer >
+getSupportedBitrateRange (MediaCodecInfo encoderInfo,
+ String mimeType)
+
+Returns the range of supported bitrates for the given
MIME type .
+
+
+
+static ImmutableList <Integer >
+getSupportedColorFormats (MediaCodecInfo encoderInfo,
+ String mimeType)
+
+
+
+
+
static ImmutableList <MediaCodecInfo >
getSupportedEncoders (String mimeType)
-Returns a list of
encoders
that support the given
mimeType
, or
- an empty list if there is none.
+Returns a list of
encoders that support the given
mimeType
,
+ or an empty list if there is none.
-
+
+static Range <Integer >
+getSupportedHeights (MediaCodecInfo encoderInfo,
+ String mimeType,
+ int width)
+
+
+
+
+
+static Size
+getSupportedResolution (MediaCodecInfo encoderInfo,
+ String mimeType,
+ int width,
+ int height)
+
+Finds an
encoder 's supported resolution from a given resolution.
+
+
+
+static Pair <Range <Integer >,Range <Integer >>
+getSupportedResolutionRanges (MediaCodecInfo encoderInfo,
+ String mimeType)
+
+
+
+
+
+static ImmutableSet <String >
+getSupportedVideoMimeTypes ()
+
+Returns a list of video
MIME types that can be encoded.
+
+
+
static boolean
-isProfileLevelSupported (MediaCodecInfo encoderInfo,
- String mimeType,
- int profile,
- int level)
+isBitrateModeSupported (MediaCodecInfo encoderInfo,
+ String mimeType,
+ int bitrateMode)
-Returns whether the
encoder
supports the given profile and level.
+Returns whether the bitrate mode is supported by the encoder.
+
+
+
+static boolean
+isFeatureSupported (MediaCodecInfo encoderInfo,
+ String mimeType,
+ String featureName)
+
+Returns whether a given feature is supported.
+
+
+
+static boolean
+isHardwareAccelerated (MediaCodecInfo encoderInfo,
+ String mimeType)
+
+Checks if a
codec is hardware-accelerated.
+
+
+
+static boolean
+isSizeSupported (MediaCodecInfo encoderInfo,
+ String mimeType,
+ int width,
+ int height)
+
+Returns whether the
encoder supports the given resolution.
@@ -207,6 +323,30 @@ Methods inherited from class java.lang.
+
+
+
+
+
+
+Field Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+isSizeSupported
+public static boolean isSizeSupported(MediaCodecInfo encoderInfo,
+ String mimeType,
+ int width,
+ int height)
+Returns whether the
encoder supports the given resolution.
+
+
+
+
+
+
-
+
+
+
+
+
+
+getSupportedResolution
@Nullable
-public static Pair <Integer ,Integer > getClosestSupportedResolution(MediaCodecInfo encoderInfo,
- String mimeType,
- int width,
- int height)
-Finds the
encoder
's closest supported resolution from the given
- resolution.
+public static
Size getSupportedResolution(
MediaCodecInfo encoderInfo,
+
String mimeType,
+ int width,
+ int height)
+
Finds an
encoder 's supported resolution from a given resolution.
-
The input resolution is returned, if it is supported by the encoder
.
+
The input resolution is returned, if it (after aligning to the encoder's requirement) is
+ supported by the encoder .
-
The resolution will be clamped to the encoder
's range of supported
- resolutions, and adjusted to the encoder
's size alignment. The
- adjustment process takes into account the original aspect ratio. But the fixed resolution may
- not preserve the original aspect ratio, depending on the encoder's required size alignment.
+
The resolution will be adjusted to be within the encoder 's range
+ of supported resolutions, and will be aligned to the encoder 's
+ alignment requirement. The adjustment process takes into account the original aspect ratio. But
+ the fixed resolution may not preserve the original aspect ratio, depending on the encoder's
+ required size alignment.
Parameters:
encoderInfo
- The MediaCodecInfo
of the encoder.
@@ -252,33 +444,121 @@ getClosestSupportedResolution
width
- The original width.
height
- The original height.
Returns:
-A Pair
of width and height, or null
if unable to find a fix.
+A supported resolution , or null
if unable to find a fallback.
-
+
-isProfileLevelSupported
-public static boolean isProfileLevelSupported(MediaCodecInfo encoderInfo,
- String mimeType,
- int profile,
- int level)
-Returns whether the
encoder
supports the given profile and level.
+findSupportedEncodingProfiles
+public static ImmutableSet <Integer > findSupportedEncodingProfiles(MediaCodecInfo encoderInfo,
+ String mimeType)
+
-
+
-
+
+
+findHighestSupportedEncodingLevel
+public static int findHighestSupportedEncodingLevel(MediaCodecInfo encoderInfo,
+ String mimeType,
+ int profile)
+Finds the highest supported encoding level given a profile.
+
+Parameters:
+encoderInfo
- The encoderInfo
.
+mimeType
- The MIME type .
+profile
- The encoding profile.
+Returns:
+The highest supported encoding level, as documented in MediaCodecInfo.CodecProfileLevel
, or LEVEL_UNSET
if the profile is not supported.
+
+
+
+
+
+
+
-getClosestSupportedBitrate
-public static int getClosestSupportedBitrate(MediaCodecInfo encoderInfo,
+findCodecForFormat
+@Nullable
+public static String findCodecForFormat(MediaFormat format,
+ boolean isDecoder)
+
+
+
+
+
+
+
+
+
+
+
+
+isBitrateModeSupported
+public static boolean isBitrateModeSupported(MediaCodecInfo encoderInfo,
String mimeType,
- int bitrate)
-Finds the
encoder
's closest supported bitrate from the given bitrate.
+ int bitrateMode)
+Returns whether the bitrate mode is supported by the encoder.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+isFeatureSupported
+public static boolean isFeatureSupported(MediaCodecInfo encoderInfo,
+ String mimeType,
+ String featureName)
+Returns whether a given feature is supported.
+
+
+
+
+
+
+
+getMaxSupportedInstances
+@RequiresApi(23)
+public static int getMaxSupportedInstances(MediaCodecInfo encoderInfo,
+ String mimeType)
+Returns the number of max number of the supported concurrent codec instances.
@@ -333,13 +613,13 @@ getClosestSupportedBitrate
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/FrameProcessingException.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/FrameProcessingException.html
new file mode 100644
index 00000000000..0059c402c46
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/FrameProcessingException.html
@@ -0,0 +1,457 @@
+
+
+
+
+FrameProcessingException (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+Fields
+
+Modifier and Type
+Field
+Description
+
+
+long
+presentationTimeUs
+
+The microsecond timestamp of the frame being processed while the exception occurred or
C.TIME_UNSET
if unknown.
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Throwable
+addSuppressed , fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , getSuppressed , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/GlEffect.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/GlEffect.html
new file mode 100644
index 00000000000..abea05f7086
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/GlEffect.html
@@ -0,0 +1,261 @@
+
+
+
+
+GlEffect (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/GlMatrixTransformation.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/GlMatrixTransformation.html
new file mode 100644
index 00000000000..ea71af268de
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/GlMatrixTransformation.html
@@ -0,0 +1,319 @@
+
+
+
+
+GlMatrixTransformation (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/MatrixTransformation.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/MatrixTransformation.html
new file mode 100644
index 00000000000..8c251ed8ed9
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/MatrixTransformation.html
@@ -0,0 +1,294 @@
+
+
+
+
+MatrixTransformation (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Builder.html
new file mode 100644
index 00000000000..66bff6ba5bf
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Builder.html
@@ -0,0 +1,420 @@
+
+
+
+
+Presentation.Builder (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.Presentation.Builder
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor
+Description
+
+
+Builder ()
+
+Creates a builder with default values.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/PlaybackException.FieldNumber.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Layout.html
similarity index 68%
rename from docs/doc/reference/com/google/android/exoplayer2/PlaybackException.FieldNumber.html
rename to docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Layout.html
index c4b4ea591ca..1c0e34a9cac 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/PlaybackException.FieldNumber.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Presentation.Layout.html
@@ -2,30 +2,30 @@
-PlaybackException.FieldNumber (ExoPlayer library)
+Presentation.Layout (ExoPlayer library)
-
-
-
-
-
+
+
+
+
+
-
-
+
+
@@ -43,18 +43,18 @@
SEARCH:
@@ -105,8 +105,8 @@
@@ -139,18 +140,18 @@
Annotati
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.Presentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes
+
+Modifier and Type
+Class
+Description
+
+
+static class
+Presentation.Builder
+
+
+
+
+
+static interface
+Presentation.Layout
+
+Strategies controlling the layout of input pixels in the output frame.
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+Fields
+
+Modifier and Type
+Field
+Description
+
+
+static int
+LAYOUT_SCALE_TO_FIT
+
+Empty pixels added above and below the input frame (for letterboxing), or to the left and right
+ of the input frame (for pillarboxing), until the desired aspect ratio is achieved.
+
+
+
+static int
+LAYOUT_SCALE_TO_FIT_WITH_CROP
+
+Pixels cropped from the input frame, until the desired aspect ratio is achieved.
+
+
+
+static int
+LAYOUT_STRETCH_TO_FIT
+
+Frame stretched larger on the x or y axes to fit the desired aspect ratio.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods
+
+Modifier and Type
+Method
+Description
+
+
+Size
+configure (int inputWidth,
+ int inputHeight)
+
+Configures the input and output dimensions.
+
+
+
+Matrix
+getMatrix (long presentationTimeUs)
+
+Returns the 3x3 transformation
Matrix
to apply to the frame with the given timestamp.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/ScaleToFitTransformation.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/ScaleToFitTransformation.Builder.html
new file mode 100644
index 00000000000..25b098b1372
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/ScaleToFitTransformation.Builder.html
@@ -0,0 +1,363 @@
+
+
+
+
+
ScaleToFitTransformation.Builder (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.ScaleToFitTransformation.Builder
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor
+Description
+
+
+Builder ()
+
+Creates a builder with default values.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/ScaleToFitTransformation.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/ScaleToFitTransformation.html
new file mode 100644
index 00000000000..98fce78319e
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/ScaleToFitTransformation.html
@@ -0,0 +1,351 @@
+
+
+
+
+
ScaleToFitTransformation (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.ScaleToFitTransformation
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods
+
+Modifier and Type
+Method
+Description
+
+
+Size
+configure (int inputWidth,
+ int inputHeight)
+
+Configures the input and output dimensions.
+
+
+
+Matrix
+getMatrix (long presentationTimeUs)
+
+Returns the 3x3 transformation
Matrix
to apply to the frame with the given timestamp.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/SingleFrameGlTextureProcessor.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/SingleFrameGlTextureProcessor.html
new file mode 100644
index 00000000000..41dc3274bf7
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/SingleFrameGlTextureProcessor.html
@@ -0,0 +1,346 @@
+
+
+
+
+
SingleFrameGlTextureProcessor (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Abstract Methods
+
+Modifier and Type
+Method
+Description
+
+
+void
+drawFrame (long presentationTimeUs)
+
+Draws one frame.
+
+
+
+Size
+getOutputSize ()
+
+
+
+
+
+void
+initialize (Context context,
+ int inputTexId,
+ int inputWidth,
+ int inputHeight)
+
+Performs all initialization that requires OpenGL, such as, loading and compiling a GLSL shader
+ program.
+
+
+
+void
+release ()
+
+Releases all resources.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+initialize
+void initialize(Context context,
+ int inputTexId,
+ int inputWidth,
+ int inputHeight)
+ throws IOException
+Performs all initialization that requires OpenGL, such as, loading and compiling a GLSL shader
+ program.
+
+
This method may only be called if there is a current OpenGL context.
+
+Parameters:
+context
- The Context
.
+inputTexId
- Identifier of a 2D OpenGL texture.
+inputWidth
- The input width, in pixels.
+inputHeight
- The input height, in pixels.
+Throws:
+IOException
- If an error occurs while reading resources.
+
+
+
+
+
+
+
+
+getOutputSize
+Size getOutputSize()
+Returns the output
Size
of frames processed through
drawFrame(long)
.
+
+
This method may only be called after the texture processor has been initialized
.
+
+
+
+
+
+
+
+
+
+
+
+release
+void release()
+Releases all resources.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationException.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationException.html
index 52b1057150d..b1c65833692 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationException.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationException.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":9,"i1":9,"i2":9,"i3":10,"i4":10,"i5":9};
+var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":10,"i5":10,"i6":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -380,9 +380,10 @@
Method Summary
static TransformationException
-createForCodec (Throwable cause,
- String componentName,
- Format configurationFormat,
+createForCodec (Throwable cause,
+ boolean isVideo,
+ boolean isDecoder,
+ MediaFormat mediaFormat,
String mediaCodecName,
int errorCode)
@@ -391,12 +392,24 @@ Method Summary
static TransformationException
+createForCodec (Throwable cause,
+ boolean isVideo,
+ boolean isDecoder,
+ Format format,
+ String mediaCodecName,
+ int errorCode)
+
+Creates an instance for a decoder or encoder related exception.
+
+
+
+static TransformationException
createForUnexpected (Exception cause)
Creates an instance for an unexpected exception.
-
+
boolean
errorInfoEquals (TransformationException other)
@@ -404,14 +417,14 @@ Method Summary
other
.
-
+
String
getErrorCodeName ()
-
+
static String
getErrorCodeName (@com.google.android.exoplayer2.transformer.TransformationException.ErrorCode int errorCode)
@@ -698,7 +711,7 @@ ERROR_CODE_OUTPUT_FORMAT_UNSUPPORTED
public static final int ERROR_CODE_OUTPUT_FORMAT_UNSUPPORTED
Caused by the output format for a track not being supported.
-
Supported output formats are limited by the muxer's capabilities and the encoders
available.
+ Supported output formats are limited by the muxer's capabilities and the encoders available.
See Also:
Constant Field Values
@@ -797,24 +810,58 @@ getErrorCodeName
-
+
createForCodec
public static TransformationException createForCodec(Throwable cause,
- String componentName,
- Format configurationFormat,
+ boolean isVideo,
+ boolean isDecoder,
+ MediaFormat mediaFormat,
@Nullable
String mediaCodecName,
int errorCode)
-Creates an instance for a decoder or encoder related exception.
+Creates an instance for a decoder or encoder related exception.
+
+
Use this method after the MediaFormat
used to configure the Codec
is known.
+
+Parameters:
+cause
- The cause of the failure.
+isVideo
- Whether the decoder or encoder is configured for video.
+isDecoder
- Whether the exception is created for a decoder.
+mediaFormat
- The MediaFormat
used for configuring the underlying MediaCodec
.
+mediaCodecName
- The name of the MediaCodec
used, if known.
+errorCode
- See errorCode
.
+Returns:
+The created instance.
+
+
+
+
+
+
+
+
+createForCodec
+public static TransformationException createForCodec(Throwable cause,
+ boolean isVideo,
+ boolean isDecoder,
+ Format format,
+ @Nullable
+ String mediaCodecName,
+ int errorCode)
+Creates an instance for a decoder or encoder related exception.
+
+
Use this method before configuring the Codec
, or when the Codec
is not
+ configured with a MediaFormat
.
Parameters:
cause
- The cause of the failure.
-componentName
- The name of the component used, e.g. 'VideoEncoder'.
-configurationFormat
- The Format
used for configuring the decoder/encoder.
+isVideo
- Whether the decoder or encoder is configured for video.
+isDecoder
- Whether the exception is created for a decoder.
+format
- The Format
used for configuring the Codec
.
mediaCodecName
- The name of the MediaCodec
used, if known.
errorCode
- See errorCode
.
Returns:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html
index 59330a7aa9d..3f0dcd23c16 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -203,26 +203,42 @@ Method Summary
TransformationRequest.Builder
+setEnableRequestSdrToneMapping (boolean enableRequestSdrToneMapping)
+
+Sets whether to request tone-mapping to standard dynamic range (SDR).
+
+
+
+TransformationRequest.Builder
setFlattenForSlowMotion (boolean flattenForSlowMotion)
Sets whether the input should be flattened for media containing slow motion markers.
-
+
TransformationRequest.Builder
setResolution (int outputHeight)
Sets the output resolution using the output height.
-
+
TransformationRequest.Builder
-setTransformationMatrix (Matrix transformationMatrix)
+setRotationDegrees (float rotationDegrees)
-Sets the transformation matrix.
+Sets the rotation, in degrees, counterclockwise, to apply to each frame.
-
+
+TransformationRequest.Builder
+setScale (float scaleX,
+ float scaleY)
+
+Sets the x and y axis scaling factors to apply to each frame's width and height, stretching
+ the video along these axes appropriately.
+
+
+
TransformationRequest.Builder
setVideoMimeType (String videoMimeType)
@@ -276,30 +292,6 @@ Builder
Method Detail
-
-
-
-
@@ -307,10 +299,11 @@ setTransformationMatrix
setFlattenForSlowMotion
public TransformationRequest.Builder setFlattenForSlowMotion(boolean flattenForSlowMotion)
-Sets whether the input should be flattened for media containing slow motion markers. The
- transformed output is obtained by removing the slow motion metadata and by actually slowing
- down the parts of the video and audio streams defined in this metadata. The default value for
-
flattenForSlowMotion
is
false
.
+
Sets whether the input should be flattened for media containing slow motion markers.
+
+
The transformed output is obtained by removing the slow motion metadata and by actually
+ slowing down the parts of the video and audio streams defined in this metadata. The default
+ value for flattenForSlowMotion
is false
.
Only Samsung Extension Format (SEF) slow motion metadata type is supported. The
transformation has no effect if the input does not contain this metadata type.
@@ -324,7 +317,9 @@
setFlattenForSlowMotion
If specifying a MediaSource.Factory
using Transformer.Builder.setMediaSourceFactory(MediaSource.Factory)
, make sure that Mp4Extractor.FLAG_READ_SEF_DATA
is set on the Mp4Extractor
used. Otherwise, the slow
- motion metadata will be ignored and the input won't be flattened.
+ motion metadata will be ignored and the input won't be flattened.
+
+
Using slow motion flattening together with MediaItem.ClippingConfiguration
is not supported yet.
Parameters:
flattenForSlowMotion
- Whether to flatten for slow motion.
@@ -333,6 +328,50 @@ setFlattenForSlowMotion
+
+
+
+
+
+
+
+
@@ -340,21 +379,21 @@ setFlattenForSlowMotion
setResolution
public TransformationRequest.Builder setResolution(int outputHeight)
-Sets the output resolution using the output height. The default value
C.LENGTH_UNSET
- corresponds to using the same height as the input. Output width will scale to preserve the
- input video's aspect ratio.
+
Sets the output resolution using the output height.
+
+
Output width of the displayed video will scale to preserve the video's aspect ratio after
+ other transformations.
-
For now, only "popular" heights like 144, 240, 360, 480, 720, 1080, 1440, or 2160 are
- supported, to ensure compatibility on different devices.
+
For example, a 1920x1440 video can be scaled to 640x480 by calling setResolution(480).
-
For example, a 1920x1440 video can be scaled to 640x480 by calling setResolution(480).
+
The default value, C.LENGTH_UNSET
, leaves the width and height unchanged unless
+ scaling or @linkplain #setRotationDegrees(float)
+ rotation} are requested.
Parameters:
-outputHeight
- The output height in pixels.
+outputHeight
- The output height of the displayed video, in pixels.
Returns:
This builder.
-Throws:
-IllegalArgumentException
- If the outputHeight
is not supported.
@@ -366,8 +405,10 @@ setResolution
setVideoMimeType
public TransformationRequest.Builder setVideoMimeType(@Nullable
String videoMimeType)
-Sets the video MIME type of the output. The default value is
null
which corresponds
- to using the same MIME type as the input. Supported MIME types are:
+
Sets the video MIME type of the output.
+
+
The default value is null
which corresponds to using the same MIME type as the
+ input. Supported MIME types are:
@@ -394,8 +435,10 @@
setVideoMimeType
setAudioMimeType
public TransformationRequest.Builder setAudioMimeType(@Nullable
String audioMimeType)
-
Sets the audio MIME type of the output. The default value is
null
which corresponds
- to using the same MIME type as the input. Supported MIME types are:
+
Sets the audio MIME type of the output.
+
+
The default value is null
which corresponds to using the same MIME type as the
+ input. Supported MIME types are:
+
+
+
+
@@ -425,7 +489,7 @@
experimental_setEnableHdrEditing
This method is experimental, and will be renamed or removed in a future release. The HDR
editing feature is under development and is intended for developing/testing HDR processing
- and encoding support.
+ and encoding support. HDR editing can't be enabled at the same time as
SDR tone-mapping .
Parameters:
enableHdrEditing
- Whether to attempt to process any input video stream as a high
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html
index 6ffff3fd868..e7f341bc6ac 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html
@@ -181,8 +181,8 @@ Field Summary
String
audioMimeType
-The requested output audio sample
MIME type
, or
null
if inferred from
- the input.
+The requested output audio sample
MIME type , or
null
if inferred
+ from the input.
@@ -194,31 +194,54 @@ Field Summary
boolean
+enableRequestSdrToneMapping
+
+Whether to request tone-mapping to standard dynamic range (SDR).
+
+
+
+boolean
flattenForSlowMotion
Whether the input should be flattened for media containing slow motion markers.
-
+
int
outputHeight
The requested height of the output video, or
C.LENGTH_UNSET
if inferred from the input.
+
+float
+rotationDegrees
+
+The requested rotation, in degrees, of the output video, or 0 if inferred from the input.
+
+
-Matrix
-transformationMatrix
+float
+scaleX
-
+The requested scale factor, on the x-axis, of the output video, or 1 if inferred from the
+ input.
+float
+scaleY
+
+The requested scale factor, on the y-axis, of the output video, or 1 if inferred from the
+ input.
+
+
+
String
videoMimeType
-The requested output video sample
MIME type
, or
null
if inferred from
- the input.
+The requested output video sample
MIME type , or
null
if inferred
+ from the input.
@@ -281,31 +304,61 @@
Methods inherited from class java.lang.
+
-
+
+
+
+
+
+
+
+
+
@@ -331,8 +384,8 @@ outputHeight
audioMimeType
@Nullable
public final String audioMimeType
-The requested output audio sample
MIME type
, or
null
if inferred from
- the input.
+The requested output audio sample
MIME type , or
null
if inferred
+ from the input.
See Also:
TransformationRequest.Builder.setAudioMimeType(String)
@@ -347,14 +400,24 @@ audioMimeType
videoMimeType
@Nullable
public final String videoMimeType
-The requested output video sample
MIME type
, or
null
if inferred from
- the input.
+The requested output video sample
MIME type , or
null
if inferred
+ from the input.
See Also:
TransformationRequest.Builder.setVideoMimeType(String)
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.Builder.html
similarity index 62%
rename from docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.Builder.html
rename to docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.Builder.html
index 5f94a750cf7..1fb09171f46 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionOverrides.Builder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.Builder.html
@@ -2,7 +2,7 @@
-TrackSelectionOverrides.Builder (ExoPlayer library)
+TransformationResult.Builder (ExoPlayer library)
@@ -19,13 +19,13 @@
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.TransformationResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Builder.html
index 562c5bffbf2..592fe42d5a1 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Builder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Builder.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":42,"i5":10,"i6":10,"i7":42,"i8":42,"i9":10,"i10":10,"i11":42,"i12":10,"i13":10,"i14":10};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":42,"i5":10,"i6":10,"i7":10,"i8":42,"i9":42,"i10":10,"i11":10,"i12":42,"i13":10,"i14":10,"i15":10,"i16":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -205,7 +205,7 @@ Method Summary
Transformer.Builder
removeAllListeners ()
-
+
@@ -234,12 +234,19 @@ Method Summary
Transformer.Builder
+setDecoderFactory (Codec.DecoderFactory decoderFactory)
+
+
+
+
+
+Transformer.Builder
setEncoderFactory (Codec.EncoderFactory encoderFactory)
-
+
Transformer.Builder
setFlattenForSlowMotion (boolean flattenForSlowMotion)
@@ -249,7 +256,7 @@ Method Summary
-
+
Transformer.Builder
setListener (Transformer.Listener listener)
@@ -258,7 +265,7 @@ Method Summary
-
+
Transformer.Builder
setLooper (Looper looper)
@@ -266,14 +273,14 @@ Method Summary
to call listeners on.
-
+
Transformer.Builder
setMediaSourceFactory (MediaSource.Factory mediaSourceFactory)
-
+
Transformer.Builder
setOutputMimeType (String outputMimeType)
@@ -283,27 +290,34 @@ Method Summary
-
+
Transformer.Builder
setRemoveAudio (boolean removeAudio)
Sets whether to remove the audio from the output.
-
+
Transformer.Builder
setRemoveVideo (boolean removeVideo)
Sets whether to remove the video from the output.
-
+
Transformer.Builder
setTransformationRequest (TransformationRequest transformationRequest)
+
+Transformer.Builder
+setVideoFrameEffects (List <GlEffect > effects)
+
+Sets the
effects to apply to each video frame.
+
+
+
+
+
+
@@ -401,9 +436,10 @@ setTransformationRequest
setMediaSourceFactory
public Transformer.Builder setMediaSourceFactory(MediaSource.Factory mediaSourceFactory)
-
+
Parameters:
mediaSourceFactory
- A MediaSource.Factory
.
@@ -419,7 +455,9 @@ setMediaSourceFactory
setRemoveAudio
public Transformer.Builder setRemoveAudio(boolean removeAudio)
-Sets whether to remove the audio from the output. The default value is
false
.
+
Sets whether to remove the audio from the output.
+
+
The default value is false
.
The audio and video cannot both be removed because the output would not contain any
samples.
@@ -438,7 +476,9 @@
setRemoveAudio
setRemoveVideo
public Transformer.Builder setRemoveVideo(boolean removeVideo)
-Sets whether to remove the video from the output. The default value is
false
.
+
Sets whether to remove the video from the output.
+
+
The default value is false
.
The audio and video cannot both be removed because the output would not contain any
samples.
@@ -534,7 +574,7 @@
removeListener
removeAllListeners
public Transformer.Builder removeAllListeners()
-Removes all
listeners
.
+
@@ -551,9 +591,10 @@ removeAllListeners
setLooper
public Transformer.Builder setLooper(Looper looper)
Sets the
Looper
that must be used for all calls to the transformer and that is used
- to call listeners on. The default value is the Looper of the thread that this builder was
- created on, or if that thread does not have a Looper, the Looper of the application's main
- thread.
+ to call listeners on.
+
+ The default value is the Looper of the thread that this builder was created on, or if that
+ thread does not have a Looper, the Looper of the application's main thread.
Parameters:
looper
- A Looper
.
@@ -569,8 +610,9 @@ setLooper
setEncoderFactory
public Transformer.Builder setEncoderFactory(Codec.EncoderFactory encoderFactory)
-
+
Parameters:
encoderFactory
- The Codec.EncoderFactory
instance.
@@ -579,6 +621,24 @@ setEncoderFactory
+
+
+
+
@@ -587,7 +647,10 @@
setEncoderFactory
setDebugViewProvider
public Transformer.Builder setDebugViewProvider(Transformer.DebugViewProvider debugViewProvider)
Sets a provider for views to show diagnostic information (if available) during
- transformation. This is intended for debugging. The default value is
Transformer.DebugViewProvider.NONE
, which doesn't show any debug info.
+ transformation.
+
+
This is intended for debugging. The default value is Transformer.DebugViewProvider.NONE
, which
+ doesn't show any debug info.
Not all transformations will result in debug views being populated.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Listener.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Listener.html
index fb54e1fa597..4bdc8078e9a 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Listener.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.Listener.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":18,"i1":18,"i2":18,"i3":50};
+var data = {"i0":18,"i1":50,"i2":18,"i3":18,"i4":50};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -161,18 +161,28 @@ Method Summary
default void
onTransformationCompleted (MediaItem inputMediaItem)
-Called when the transformation is completed successfully.
+Deprecated.
+
+
default void
+onTransformationCompleted (MediaItem inputMediaItem,
+ TransformationResult transformationResult)
+
+Called when the transformation is completed successfully.
+
+
+
+default void
onTransformationError (MediaItem inputMediaItem,
TransformationException exception)
Called if an exception occurs during the transformation.
-
+
default void
onTransformationError (MediaItem inputMediaItem,
Exception exception)
@@ -205,11 +215,26 @@ Method Detail
+
+
+
+
+
+onTransformationCompleted
+default void onTransformationCompleted(MediaItem inputMediaItem,
+ TransformationResult transformationResult)
Called when the transformation is completed successfully.
Parameters:
inputMediaItem
- The MediaItem
for which the transformation is completed.
+transformationResult
- The TransformationResult
of the transformation.
@@ -259,7 +284,8 @@ onFallbackApplied
inputMediaItem
- The MediaItem
for which the transformation is requested.
originalTransformationRequest
- The unsupported TransformationRequest
used when
building Transformer
.
-fallbackTransformationRequest
- The alternative TransformationRequest
.
+fallbackTransformationRequest
- The alternative TransformationRequest
, with
+ supported TransformationRequest.outputHeight
and TransformationRequest.videoMimeType
values set.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.html
index 561410fb0dd..66d8c3c773f 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/Transformer.html
@@ -296,7 +296,7 @@ Method Summary
void
removeAllListeners ()
-
+
@@ -484,7 +484,7 @@ removeListener
removeAllListeners
public void removeAllListeners()
-
+
Throws:
IllegalStateException
- If this method is called from the wrong thread.
@@ -502,13 +502,13 @@ startTransformation
throws IOException
Starts an asynchronous operation to transform the given
MediaItem
.
-
The transformation state is notified through the listener
.
+
The transformation state is notified through the listener .
Concurrent transformations on the same Transformer object are not allowed.
The output is an MP4 file. It can contain at most one video track and one audio track. Other
- track types are ignored. For adaptive bitrate media sources
, the highest
- bitrate video and audio streams are selected.
+ track types are ignored. For adaptive bitrate media sources , the
+ highest bitrate video and audio streams are selected.
Parameters:
mediaItem
- The MediaItem
to transform.
@@ -533,13 +533,13 @@ startTransformation
throws IOException
Starts an asynchronous operation to transform the given
MediaItem
.
-
The transformation state is notified through the listener
.
+
The transformation state is notified through the listener .
Concurrent transformations on the same Transformer object are not allowed.
The output is an MP4 file. It can contain at most one video track and one audio track. Other
- track types are ignored. For adaptive bitrate media sources
, the highest
- bitrate video and audio streams are selected.
+ track types are ignored. For adaptive bitrate media sources , the
+ highest bitrate video and audio streams are selected.
Parameters:
mediaItem
- The MediaItem
to transform.
@@ -576,8 +576,7 @@ getProgress
+ After a transformation completes , this method returns PROGRESS_STATE_NO_TRANSFORMATION
.
Parameters:
progressHolder
- A ProgressHolder
, updated to hold the percentage progress if
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.BitrateMode.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.BitrateMode.html
new file mode 100644
index 00000000000..fc705f4c9b7
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.BitrateMode.html
@@ -0,0 +1,193 @@
+
+
+
+
+VideoEncoderSettings.BitrateMode (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Field |
+Required |
+Optional
+
+
+Detail:
+Field |
+Element
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Field |
+Required |
+Optional
+
+
+Detail:
+Field |
+Element
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.Builder.html
new file mode 100644
index 00000000000..9aee2a3be02
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.Builder.html
@@ -0,0 +1,469 @@
+
+
+
+
+VideoEncoderSettings.Builder (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.VideoEncoderSettings.Builder
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor
+Description
+
+
+Builder ()
+
+Creates a new instance.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+Builder
+public Builder()
+Creates a new instance.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.html
new file mode 100644
index 00000000000..cdde2cdfa5c
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.html
@@ -0,0 +1,582 @@
+
+
+
+
+VideoEncoderSettings (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.google.android.exoplayer2.transformer.VideoEncoderSettings
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+bitrate
+public final int bitrate
+The encoding bitrate.
+
+
+
+
+
+
+
+
+
+
+
+profile
+public final int profile
+The encoding profile.
+
+
+
+
+
+
+
+level
+public final int level
+The encoding level.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/package-summary.html
index f438f08e2d7..d6aeda3d7ac 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/package-summary.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/package-summary.html
@@ -104,15 +104,51 @@ Package com.google.android.exoplayer2.tra
-Codec.DecoderFactory
+Codec
-
+Provides a layer of abstraction for interacting with decoders and encoders.
+Codec.DecoderFactory
+
+
+
+
+
Codec.EncoderFactory
-
+
+
+
+
+EncoderSelector
+
+
+
+
+
+GlEffect
+
+
+
+
+
+GlMatrixTransformation
+
+Specifies a 4x4 transformation
Matrix
to apply in the vertex shader for each frame.
+
+
+
+MatrixTransformation
+
+Specifies a 3x3 transformation
Matrix
to apply in the vertex shader for each frame.
+
+
+
+SingleFrameGlTextureProcessor
+
+Manages a GLSL shader program for processing a frame.
@@ -139,47 +175,103 @@ Package com.google.android.exoplayer2.tra
-Codec
+DefaultCodec
-
+
+DefaultEncoderFactory
+
+
+
+
+
EncoderUtil
+
+Presentation
+
+Controls how a frame is presented with options to set the output resolution, crop the input, and
+ choose how to map the input pixels onto the output frame geometry (for example, by stretching the
+ input frame to match the specified output frame, or fitting the input frame using letterboxing).
+
+
+Presentation.Builder
+
+
+
+
+
ProgressHolder
Holds a progress percentage.
+
+ScaleToFitTransformation
+
+Specifies a simple rotation and/or scale to apply in the vertex shader.
+
+
+ScaleToFitTransformation.Builder
+
+
+
+
+
TransformationRequest
A media transformation request.
-
+
TransformationRequest.Builder
+
+TransformationResult
+
+Information about the result of a successful transformation.
+
+
+TransformationResult.Builder
+
+
+
+
+
Transformer
A transformer to transform media inputs.
-
+
Transformer.Builder
+
+VideoEncoderSettings
+
+Represents the video encoder settings.
+
+
+
+VideoEncoderSettings.Builder
+
+
+
+
@@ -192,6 +284,12 @@ Package com.google.android.exoplayer2.tra
+FrameProcessingException
+
+Thrown when an exception occurs while applying effects to video frames.
+
+
+
TransformationException
Thrown when a non-locally recoverable transformation failure occurs.
@@ -209,17 +307,32 @@ Package com.google.android.exoplayer2.tra
+Presentation.Layout
+
+Strategies controlling the layout of input pixels in the output frame.
+
+
+
TransformationException.ErrorCode
-
+
Transformer.ProgressState
Progress state.
+
+VideoEncoderSettings.BitrateMode
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/transformer/package-tree.html
index d393cdea3e0..c7f8c1832d3 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/transformer/package-tree.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/transformer/package-tree.html
@@ -103,13 +103,19 @@ Class Hierarchy
@@ -126,8 +136,20 @@ Class Hierarchy
Interface Hierarchy
@@ -135,8 +157,10 @@ Interface Hierarchy
Annotation Type Hierarchy
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/AspectRatioFrameLayout.html b/docs/doc/reference/com/google/android/exoplayer2/ui/AspectRatioFrameLayout.html
index 9ea4375a054..0cea6e42273 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/AspectRatioFrameLayout.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/AspectRatioFrameLayout.html
@@ -272,7 +272,7 @@ Fields inherited from class android.view.View
-ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
+
ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_ACCESSIBILITY_ACTION , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/DefaultTimeBar.html b/docs/doc/reference/com/google/android/exoplayer2/ui/DefaultTimeBar.html
index 4eb9cfff2ea..83581ff6885 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/DefaultTimeBar.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/DefaultTimeBar.html
@@ -366,7 +366,7 @@
Field Summary
Fields inherited from class android.view.View
-
ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
+
ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_ACCESSIBILITY_ACTION , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerControlView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerControlView.html
index 7ec9a82739e..1006710267f 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerControlView.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerControlView.html
@@ -438,7 +438,7 @@
Fields inherited from class android.view.View
-
ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
+
ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_ACCESSIBILITY_ACTION , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerView.html
index ddf6e07516f..f593e0cb089 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerView.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/PlayerView.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":42,"i1":42,"i2":42,"i3":42,"i4":42,"i5":42,"i6":42,"i7":42,"i8":42,"i9":42,"i10":42,"i11":42,"i12":42,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":42,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":42,"i30":42,"i31":42,"i32":42,"i33":42,"i34":42,"i35":42,"i36":42,"i37":42,"i38":42,"i39":42,"i40":42,"i41":42,"i42":42,"i43":42,"i44":42,"i45":42,"i46":42,"i47":42,"i48":42,"i49":41};
+var data = {"i0":42,"i1":42,"i2":42,"i3":42,"i4":42,"i5":42,"i6":42,"i7":42,"i8":42,"i9":42,"i10":42,"i11":42,"i12":42,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":42,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":42,"i30":42,"i31":42,"i32":42,"i33":42,"i34":42,"i35":42,"i36":42,"i37":42,"i38":42,"i39":42,"i40":42,"i41":42,"i42":42,"i43":42,"i44":42,"i45":42,"i46":42,"i47":42,"i48":41};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -437,7 +437,7 @@
Fields inherited from class android.view.View
-
ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
+
ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_ACCESSIBILITY_ACTION , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
@@ -663,26 +663,19 @@
Method Summary
boolean
-onTouchEvent (MotionEvent event)
-
-Deprecated.
-
-
-
-boolean
onTrackballEvent (MotionEvent ev)
Deprecated.
-
+
boolean
performClick ()
Deprecated.
-
+
void
setAspectRatioListener (AspectRatioFrameLayout.AspectRatioListener listener)
@@ -690,7 +683,7 @@ Method Summary
-
+
void
setControllerAutoShow (boolean controllerAutoShow)
@@ -699,7 +692,7 @@ Method Summary
or fails.
-
+
void
setControllerHideDuringAds (boolean controllerHideDuringAds)
@@ -707,7 +700,7 @@ Method Summary
Sets whether the playback controls are hidden when ads are playing.
-
+
void
setControllerHideOnTouch (boolean controllerHideOnTouch)
@@ -715,7 +708,7 @@ Method Summary
Sets whether the playback controls are hidden by touch events.
-
+
void
setControllerShowTimeoutMs (int controllerShowTimeoutMs)
@@ -723,7 +716,7 @@ Method Summary
Sets the playback controls timeout.
-
+
void
setControllerVisibilityListener (PlayerControlView.VisibilityListener listener)
@@ -731,7 +724,7 @@ Method Summary
-
+
void
setCustomErrorMessage (CharSequence message)
@@ -739,7 +732,7 @@ Method Summary
Sets a custom error message to be displayed by the view.
-
+
void
setDefaultArtwork (Drawable defaultArtwork)
@@ -748,7 +741,7 @@ Method Summary
present in the media.
-
+
void
setErrorMessageProvider (ErrorMessageProvider <? super PlaybackException > errorMessageProvider)
@@ -756,7 +749,7 @@ Method Summary
-
+
void
setExtraAdGroupMarkers (long[] extraAdGroupTimesMs,
boolean[] extraPlayedAdGroups)
@@ -766,7 +759,7 @@ Method Summary
timeline, if in multi-window mode) and whether each extra ad has been played or not.
-
+
void
setKeepContentOnPlayerReset (boolean keepContentOnPlayerReset)
@@ -775,7 +768,7 @@ Method Summary
player is reset.
-
+
void
setPlayer (Player player)
@@ -783,7 +776,7 @@ Method Summary
-
+
void
setRepeatToggleModes (@com.google.android.exoplayer2.util.RepeatModeUtil.RepeatToggleModes int repeatToggleModes)
@@ -791,7 +784,7 @@ Method Summary
Sets which repeat toggle modes are enabled.
-
+
void
setResizeMode (@com.google.android.exoplayer2.ui.AspectRatioFrameLayout.ResizeMode int resizeMode)
@@ -799,7 +792,7 @@ Method Summary
-
+
void
setShowBuffering (@com.google.android.exoplayer2.ui.PlayerView.ShowBuffering int showBuffering)
@@ -807,7 +800,7 @@ Method Summary
Sets whether a buffering spinner is displayed when the player is in the buffering state.
-
+
void
setShowFastForwardButton (boolean showFastForwardButton)
@@ -815,7 +808,7 @@ Method Summary
Sets whether the fast forward button is shown.
-
+
void
setShowMultiWindowTimeBar (boolean showMultiWindowTimeBar)
@@ -823,7 +816,7 @@ Method Summary
Sets whether the time bar should show all windows, as opposed to just the current one.
-
+
void
setShowNextButton (boolean showNextButton)
@@ -831,7 +824,7 @@ Method Summary
Sets whether the next button is shown.
-
+
void
setShowPreviousButton (boolean showPreviousButton)
@@ -839,7 +832,7 @@ Method Summary
Sets whether the previous button is shown.
-
+
void
setShowRewindButton (boolean showRewindButton)
@@ -847,7 +840,7 @@ Method Summary
Sets whether the rewind button is shown.
-
+
void
setShowShuffleButton (boolean showShuffleButton)
@@ -855,7 +848,7 @@ Method Summary
Sets whether the shuffle button is shown.
-
+
void
setShutterBackgroundColor (int color)
@@ -863,7 +856,7 @@ Method Summary
Sets the background color of the exo_shutter
view.
-
+
void
setUseArtwork (boolean useArtwork)
@@ -871,7 +864,7 @@ Method Summary
Sets whether artwork is displayed if present in the media.
-
+
void
setUseController (boolean useController)
@@ -879,14 +872,14 @@ Method Summary
Sets whether the playback controls can be shown.
-
+
void
setVisibility (int visibility)
Deprecated.
-
+
void
showController ()
@@ -894,7 +887,7 @@ Method Summary
Shows the playback controls.
-
+
static void
switchTargetView (Player player,
PlayerView oldPlayerView,
@@ -924,7 +917,7 @@ Methods inherited from class android.view.View
-addFocusables , addOnAttachStateChangeListener , addOnLayoutChangeListener , addOnUnhandledKeyEventListener , animate , announceForAccessibility , autofill , autofill , awakenScrollBars , awakenScrollBars , awakenScrollBars , bringToFront , buildDrawingCache , buildDrawingCache , buildLayer , callOnClick , cancelDragAndDrop , cancelLongPress , cancelPendingInputEvents , canResolveLayoutDirection , canResolveTextAlignment , canResolveTextDirection , canScrollHorizontally , canScrollVertically , checkInputConnectionProxy , clearAnimation , clearViewTranslationCallback , combineMeasuredStates , computeHorizontalScrollExtent , computeHorizontalScrollOffset , computeHorizontalScrollRange , computeScroll , computeSystemWindowInsets , computeVerticalScrollExtent , computeVerticalScrollOffset , computeVerticalScrollRange , createAccessibilityNodeInfo , createContextMenu , destroyDrawingCache , dispatchGenericMotionEvent , dispatchNestedFling , dispatchNestedPreFling , dispatchNestedPrePerformAccessibilityAction , dispatchNestedPreScroll , dispatchNestedScroll , dispatchPopulateAccessibilityEvent , draw , drawableHotspotChanged , findViewById , findViewWithTag , fitSystemWindows , focusSearch , forceHasOverlappingRendering , forceLayout , generateDisplayHash , generateViewId , getAccessibilityDelegate , getAccessibilityLiveRegion , getAccessibilityNodeProvider , getAccessibilityPaneTitle , getAccessibilityTraversalAfter , getAccessibilityTraversalBefore , getAlpha , getAnimation , getAnimationMatrix , getApplicationWindowToken , getAttributeResolutionStack , getAttributeSourceResourceMap , getAutofillHints , getAutofillId , getAutofillType , getAutofillValue , getBackground , getBackgroundTintBlendMode , getBackgroundTintList , getBackgroundTintMode , getBaseline , getBottom , getBottomFadingEdgeStrength , getBottomPaddingOffset , getCameraDistance , getClipBounds , getClipBounds , getClipToOutline , getContentCaptureSession , getContentDescription , getContext , getContextMenuInfo , getDefaultFocusHighlightEnabled , getDefaultSize , getDisplay , getDrawableState , getDrawingCache , getDrawingCache , getDrawingCacheBackgroundColor , getDrawingCacheQuality , getDrawingRect , getDrawingTime , getElevation , getExplicitStyle , getFilterTouchesWhenObscured , getFitsSystemWindows , getFocusable , getFocusables , getFocusedRect , getForeground , getForegroundGravity , getForegroundTintBlendMode , getForegroundTintList , getForegroundTintMode , getGlobalVisibleRect , getGlobalVisibleRect , getHandler , getHasOverlappingRendering , getHeight , getHitRect , getHorizontalFadingEdgeLength , getHorizontalScrollbarHeight , getHorizontalScrollbarThumbDrawable , getHorizontalScrollbarTrackDrawable , getId , getImportantForAccessibility , getImportantForAutofill , getImportantForContentCapture , getKeepScreenOn , getKeyDispatcherState , getLabelFor , getLayerType , getLayoutDirection , getLayoutParams , getLeft , getLeftFadingEdgeStrength , getLeftPaddingOffset , getLocalVisibleRect , getLocationInSurface , getLocationInWindow , getLocationOnScreen , getMatrix , getMeasuredHeight , getMeasuredHeightAndState , getMeasuredState , getMeasuredWidth , getMeasuredWidthAndState , getMinimumHeight , getMinimumWidth , getNextClusterForwardId , getNextFocusDownId , getNextFocusForwardId , getNextFocusLeftId , getNextFocusRightId , getNextFocusUpId , getOnFocusChangeListener , getOutlineAmbientShadowColor , getOutlineProvider , getOutlineSpotShadowColor , getOverScrollMode , getPaddingBottom , getPaddingEnd , getPaddingLeft , getPaddingRight , getPaddingStart , getPaddingTop , getParent , getParentForAccessibility , getPivotX , getPivotY , getPointerIcon , getReceiveContentMimeTypes , getResources , getRevealOnFocusHint , getRight , getRightFadingEdgeStrength , getRightPaddingOffset , getRootSurfaceControl , getRootView , getRootWindowInsets , getRotation , getRotationX , getRotationY , getScaleX , getScaleY , getScrollBarDefaultDelayBeforeFade , getScrollBarFadeDuration , getScrollBarSize , getScrollBarStyle , getScrollCaptureHint , getScrollIndicators , getScrollX , getScrollY , getSolidColor , getSourceLayoutResId , getStateDescription , getStateListAnimator , getSuggestedMinimumHeight , getSuggestedMinimumWidth , getSystemGestureExclusionRects , getSystemUiVisibility , getTag , getTag , getTextAlignment , getTextDirection , getTooltipText , getTop , getTopFadingEdgeStrength , getTopPaddingOffset , getTouchables , getTouchDelegate , getTransitionAlpha , getTransitionName , getTranslationX , getTranslationY , getTranslationZ , getUniqueDrawingId , getVerticalFadingEdgeLength , getVerticalScrollbarPosition , getVerticalScrollbarThumbDrawable , getVerticalScrollbarTrackDrawable , getVerticalScrollbarWidth , getViewTranslationResponse , getViewTreeObserver , getVisibility , getWidth , getWindowAttachCount , getWindowId , getWindowInsetsController , getWindowSystemUiVisibility , getWindowToken , getWindowVisibility , getWindowVisibleDisplayFrame , getX , getY , getZ , hasExplicitFocusable , hasFocusable , hasNestedScrollingParent , hasOnClickListeners , hasOnLongClickListeners , hasOverlappingRendering , hasPointerCapture , hasWindowFocus , inflate , invalidate , invalidate , invalidate , invalidateDrawable , invalidateOutline , isAccessibilityFocused , isAccessibilityHeading , isActivated , isAttachedToWindow , isClickable , isContextClickable , isDirty , isDrawingCacheEnabled , isDuplicateParentStateEnabled , isEnabled , isFocusable , isFocusableInTouchMode , isFocused , isFocusedByDefault , isForceDarkAllowed , isHapticFeedbackEnabled , isHardwareAccelerated , isHorizontalFadingEdgeEnabled , isHorizontalScrollBarEnabled , isHovered , isImportantForAccessibility , isImportantForAutofill , isImportantForContentCapture , isInEditMode , isInLayout , isInTouchMode , isKeyboardNavigationCluster , isLaidOut , isLayoutDirectionResolved , isLayoutRequested , isLongClickable , isNestedScrollingEnabled , isOpaque , isPaddingOffsetRequired , isPaddingRelative , isPivotSet , isPressed , isSaveEnabled , isSaveFromParentEnabled , isScreenReaderFocusable , isScrollbarFadingEnabled , isScrollContainer , isSelected , isShowingLayoutBounds , isShown , isSoundEffectsEnabled , isTemporarilyDetached , isTextAlignmentResolved , isTextDirectionResolved , isVerticalFadingEdgeEnabled , isVerticalScrollBarEnabled , isVisibleToUserForAutofill , keyboardNavigationClusterSearch , measure , mergeDrawableStates , offsetLeftAndRight , offsetTopAndBottom , onAnimationEnd , onAnimationStart , onApplyWindowInsets , onCancelPendingInputEvents , onCapturedPointerEvent , onCheckIsTextEditor , onConfigurationChanged , onCreateContextMenu , onCreateInputConnection , onCreateViewTranslationRequest , onCreateVirtualViewTranslationRequests , onDisplayHint , onDragEvent , onDraw , onDrawForeground , onDrawScrollBars , onFilterTouchEventForSecurity , onFinishInflate , onFinishTemporaryDetach , onFocusChanged , onGenericMotionEvent , onHoverChanged , onHoverEvent , onInitializeAccessibilityEvent , onInitializeAccessibilityNodeInfo , onKeyDown , onKeyLongPress , onKeyMultiple , onKeyPreIme , onKeyShortcut , onKeyUp , onOverScrolled , onPointerCaptureChange , onPopulateAccessibilityEvent , onProvideAutofillStructure , onProvideAutofillVirtualStructure , onProvideContentCaptureStructure , onProvideStructure , onProvideVirtualStructure , onReceiveContent , onRestoreInstanceState , onRtlPropertiesChanged , onSaveInstanceState , onScreenStateChanged , onScrollCaptureSearch , onScrollChanged , onSetAlpha , onSizeChanged , onStartTemporaryDetach , onViewTranslationResponse , onVirtualViewTranslationResponses , onVisibilityAggregated , onVisibilityChanged , onWindowFocusChanged , onWindowSystemUiVisibilityChanged , onWindowVisibilityChanged , overScrollBy , performAccessibilityAction , performContextClick , performContextClick , performHapticFeedback , performHapticFeedback , performLongClick , performLongClick , performReceiveContent , playSoundEffect , post , postDelayed , postInvalidate , postInvalidate , postInvalidateDelayed , postInvalidateDelayed , postInvalidateOnAnimation , postInvalidateOnAnimation , postOnAnimation , postOnAnimationDelayed , refreshDrawableState , releasePointerCapture , removeCallbacks , removeOnAttachStateChangeListener , removeOnLayoutChangeListener , removeOnUnhandledKeyEventListener , requestApplyInsets , requestFitSystemWindows , requestFocus , requestFocus , requestFocusFromTouch , requestLayout , requestPointerCapture , requestRectangleOnScreen , requestRectangleOnScreen , requestUnbufferedDispatch , requestUnbufferedDispatch , requireViewById , resetPivot , resolveSize , resolveSizeAndState , restoreHierarchyState , saveAttributeDataForStyleable , saveHierarchyState , scheduleDrawable , scrollBy , scrollTo , sendAccessibilityEvent , sendAccessibilityEventUnchecked , setAccessibilityDelegate , setAccessibilityHeading , setAccessibilityLiveRegion , setAccessibilityPaneTitle , setAccessibilityTraversalAfter , setAccessibilityTraversalBefore , setActivated , setAllowClickWhenDisabled , setAlpha , setAnimation , setAnimationMatrix , setAutofillHints , setAutofillId , setBackground , setBackgroundColor , setBackgroundDrawable , setBackgroundResource , setBackgroundTintBlendMode , setBackgroundTintList , setBackgroundTintMode , setBottom , setCameraDistance , setClickable , setClipBounds , setClipToOutline , setContentCaptureSession , setContentDescription , setContextClickable , setDefaultFocusHighlightEnabled , setDrawingCacheBackgroundColor , setDrawingCacheEnabled , setDrawingCacheQuality , setDuplicateParentStateEnabled , setElevation , setEnabled , setFadingEdgeLength , setFilterTouchesWhenObscured , setFitsSystemWindows , setFocusable , setFocusable , setFocusableInTouchMode , setFocusedByDefault , setForceDarkAllowed , setForeground , setForegroundTintBlendMode , setForegroundTintList , setForegroundTintMode , setHapticFeedbackEnabled , setHasTransientState , setHorizontalFadingEdgeEnabled , setHorizontalScrollBarEnabled , setHorizontalScrollbarThumbDrawable , setHorizontalScrollbarTrackDrawable , setHovered , setId , setImportantForAccessibility , setImportantForAutofill , setImportantForContentCapture , setKeepScreenOn , setKeyboardNavigationCluster , setLabelFor , setLayerPaint , setLayerType , setLayoutDirection , setLayoutParams , setLeft , setLeftTopRightBottom , setLongClickable , setMeasuredDimension , setMinimumHeight , setMinimumWidth , setNestedScrollingEnabled , setNextClusterForwardId , setNextFocusDownId , setNextFocusForwardId , setNextFocusLeftId , setNextFocusRightId , setNextFocusUpId , setOnApplyWindowInsetsListener , setOnCapturedPointerListener , setOnClickListener , setOnContextClickListener , setOnCreateContextMenuListener , setOnDragListener , setOnFocusChangeListener , setOnGenericMotionListener , setOnHoverListener , setOnKeyListener , setOnLongClickListener , setOnReceiveContentListener , setOnScrollChangeListener , setOnSystemUiVisibilityChangeListener , setOnTouchListener , setOutlineAmbientShadowColor , setOutlineProvider , setOutlineSpotShadowColor , setOverScrollMode , setPadding , setPaddingRelative , setPivotX , setPivotY , setPointerIcon , setPressed , setRenderEffect , setRevealOnFocusHint , setRight , setRotation , setRotationX , setRotationY , setSaveEnabled , setSaveFromParentEnabled , setScaleX , setScaleY , setScreenReaderFocusable , setScrollBarDefaultDelayBeforeFade , setScrollBarFadeDuration , setScrollbarFadingEnabled , setScrollBarSize , setScrollBarStyle , setScrollCaptureCallback , setScrollCaptureHint , setScrollContainer , setScrollIndicators , setScrollIndicators , setScrollX , setScrollY , setSelected , setSoundEffectsEnabled , setStateDescription , setStateListAnimator , setSystemGestureExclusionRects , setSystemUiVisibility , setTag , setTag , setTextAlignment , setTextDirection , setTooltipText , setTop , setTouchDelegate , setTransitionAlpha , setTransitionName , setTransitionVisibility , setTranslationX , setTranslationY , setTranslationZ , setVerticalFadingEdgeEnabled , setVerticalScrollBarEnabled , setVerticalScrollbarPosition , setVerticalScrollbarThumbDrawable , setVerticalScrollbarTrackDrawable , setViewTranslationCallback , setWillNotCacheDrawing , setWillNotDraw , setX , setY , setZ , showContextMenu , showContextMenu , startActionMode , startActionMode , startAnimation , startDrag , startDragAndDrop , startNestedScroll , stopNestedScroll , toString , transformMatrixToGlobal , transformMatrixToLocal , unscheduleDrawable , unscheduleDrawable , updateDragShadow , verifyDrawable , willNotCacheDrawing , willNotDraw
+addFocusables , addOnAttachStateChangeListener , addOnLayoutChangeListener , addOnUnhandledKeyEventListener , animate , announceForAccessibility , autofill , autofill , awakenScrollBars , awakenScrollBars , awakenScrollBars , bringToFront , buildDrawingCache , buildDrawingCache , buildLayer , callOnClick , cancelDragAndDrop , cancelLongPress , cancelPendingInputEvents , canResolveLayoutDirection , canResolveTextAlignment , canResolveTextDirection , canScrollHorizontally , canScrollVertically , checkInputConnectionProxy , clearAnimation , clearViewTranslationCallback , combineMeasuredStates , computeHorizontalScrollExtent , computeHorizontalScrollOffset , computeHorizontalScrollRange , computeScroll , computeSystemWindowInsets , computeVerticalScrollExtent , computeVerticalScrollOffset , computeVerticalScrollRange , createAccessibilityNodeInfo , createContextMenu , destroyDrawingCache , dispatchGenericMotionEvent , dispatchNestedFling , dispatchNestedPreFling , dispatchNestedPrePerformAccessibilityAction , dispatchNestedPreScroll , dispatchNestedScroll , dispatchPopulateAccessibilityEvent , draw , drawableHotspotChanged , findViewById , findViewWithTag , fitSystemWindows , focusSearch , forceHasOverlappingRendering , forceLayout , generateDisplayHash , generateViewId , getAccessibilityDelegate , getAccessibilityLiveRegion , getAccessibilityNodeProvider , getAccessibilityPaneTitle , getAccessibilityTraversalAfter , getAccessibilityTraversalBefore , getAlpha , getAnimation , getAnimationMatrix , getApplicationWindowToken , getAttributeResolutionStack , getAttributeSourceResourceMap , getAutofillHints , getAutofillId , getAutofillType , getAutofillValue , getBackground , getBackgroundTintBlendMode , getBackgroundTintList , getBackgroundTintMode , getBaseline , getBottom , getBottomFadingEdgeStrength , getBottomPaddingOffset , getCameraDistance , getClipBounds , getClipBounds , getClipToOutline , getContentCaptureSession , getContentDescription , getContext , getContextMenuInfo , getDefaultFocusHighlightEnabled , getDefaultSize , getDisplay , getDrawableState , getDrawingCache , getDrawingCache , getDrawingCacheBackgroundColor , getDrawingCacheQuality , getDrawingRect , getDrawingTime , getElevation , getExplicitStyle , getFilterTouchesWhenObscured , getFitsSystemWindows , getFocusable , getFocusables , getFocusedRect , getForeground , getForegroundGravity , getForegroundTintBlendMode , getForegroundTintList , getForegroundTintMode , getGlobalVisibleRect , getGlobalVisibleRect , getHandler , getHasOverlappingRendering , getHeight , getHitRect , getHorizontalFadingEdgeLength , getHorizontalScrollbarHeight , getHorizontalScrollbarThumbDrawable , getHorizontalScrollbarTrackDrawable , getId , getImportantForAccessibility , getImportantForAutofill , getImportantForContentCapture , getKeepScreenOn , getKeyDispatcherState , getLabelFor , getLayerType , getLayoutDirection , getLayoutParams , getLeft , getLeftFadingEdgeStrength , getLeftPaddingOffset , getLocalVisibleRect , getLocationInSurface , getLocationInWindow , getLocationOnScreen , getMatrix , getMeasuredHeight , getMeasuredHeightAndState , getMeasuredState , getMeasuredWidth , getMeasuredWidthAndState , getMinimumHeight , getMinimumWidth , getNextClusterForwardId , getNextFocusDownId , getNextFocusForwardId , getNextFocusLeftId , getNextFocusRightId , getNextFocusUpId , getOnFocusChangeListener , getOutlineAmbientShadowColor , getOutlineProvider , getOutlineSpotShadowColor , getOverScrollMode , getPaddingBottom , getPaddingEnd , getPaddingLeft , getPaddingRight , getPaddingStart , getPaddingTop , getParent , getParentForAccessibility , getPivotX , getPivotY , getPointerIcon , getReceiveContentMimeTypes , getResources , getRevealOnFocusHint , getRight , getRightFadingEdgeStrength , getRightPaddingOffset , getRootSurfaceControl , getRootView , getRootWindowInsets , getRotation , getRotationX , getRotationY , getScaleX , getScaleY , getScrollBarDefaultDelayBeforeFade , getScrollBarFadeDuration , getScrollBarSize , getScrollBarStyle , getScrollCaptureHint , getScrollIndicators , getScrollX , getScrollY , getSolidColor , getSourceLayoutResId , getStateDescription , getStateListAnimator , getSuggestedMinimumHeight , getSuggestedMinimumWidth , getSystemGestureExclusionRects , getSystemUiVisibility , getTag , getTag , getTextAlignment , getTextDirection , getTooltipText , getTop , getTopFadingEdgeStrength , getTopPaddingOffset , getTouchables , getTouchDelegate , getTransitionAlpha , getTransitionName , getTranslationX , getTranslationY , getTranslationZ , getUniqueDrawingId , getVerticalFadingEdgeLength , getVerticalScrollbarPosition , getVerticalScrollbarThumbDrawable , getVerticalScrollbarTrackDrawable , getVerticalScrollbarWidth , getViewTranslationResponse , getViewTreeObserver , getVisibility , getWidth , getWindowAttachCount , getWindowId , getWindowInsetsController , getWindowSystemUiVisibility , getWindowToken , getWindowVisibility , getWindowVisibleDisplayFrame , getX , getY , getZ , hasExplicitFocusable , hasFocusable , hasNestedScrollingParent , hasOnClickListeners , hasOnLongClickListeners , hasOverlappingRendering , hasPointerCapture , hasWindowFocus , inflate , invalidate , invalidate , invalidate , invalidateDrawable , invalidateOutline , isAccessibilityFocused , isAccessibilityHeading , isActivated , isAttachedToWindow , isClickable , isContextClickable , isDirty , isDrawingCacheEnabled , isDuplicateParentStateEnabled , isEnabled , isFocusable , isFocusableInTouchMode , isFocused , isFocusedByDefault , isForceDarkAllowed , isHapticFeedbackEnabled , isHardwareAccelerated , isHorizontalFadingEdgeEnabled , isHorizontalScrollBarEnabled , isHovered , isImportantForAccessibility , isImportantForAutofill , isImportantForContentCapture , isInEditMode , isInLayout , isInTouchMode , isKeyboardNavigationCluster , isLaidOut , isLayoutDirectionResolved , isLayoutRequested , isLongClickable , isNestedScrollingEnabled , isOpaque , isPaddingOffsetRequired , isPaddingRelative , isPivotSet , isPressed , isSaveEnabled , isSaveFromParentEnabled , isScreenReaderFocusable , isScrollbarFadingEnabled , isScrollContainer , isSelected , isShowingLayoutBounds , isShown , isSoundEffectsEnabled , isTemporarilyDetached , isTextAlignmentResolved , isTextDirectionResolved , isVerticalFadingEdgeEnabled , isVerticalScrollBarEnabled , isVisibleToUserForAutofill , keyboardNavigationClusterSearch , measure , mergeDrawableStates , offsetLeftAndRight , offsetTopAndBottom , onAnimationEnd , onAnimationStart , onApplyWindowInsets , onCancelPendingInputEvents , onCapturedPointerEvent , onCheckIsTextEditor , onConfigurationChanged , onCreateContextMenu , onCreateInputConnection , onCreateViewTranslationRequest , onCreateVirtualViewTranslationRequests , onDisplayHint , onDragEvent , onDraw , onDrawForeground , onDrawScrollBars , onFilterTouchEventForSecurity , onFinishInflate , onFinishTemporaryDetach , onFocusChanged , onGenericMotionEvent , onHoverChanged , onHoverEvent , onInitializeAccessibilityEvent , onInitializeAccessibilityNodeInfo , onKeyDown , onKeyLongPress , onKeyMultiple , onKeyPreIme , onKeyShortcut , onKeyUp , onOverScrolled , onPointerCaptureChange , onPopulateAccessibilityEvent , onProvideAutofillStructure , onProvideAutofillVirtualStructure , onProvideContentCaptureStructure , onProvideStructure , onProvideVirtualStructure , onReceiveContent , onRestoreInstanceState , onRtlPropertiesChanged , onSaveInstanceState , onScreenStateChanged , onScrollCaptureSearch , onScrollChanged , onSetAlpha , onSizeChanged , onStartTemporaryDetach , onTouchEvent , onViewTranslationResponse , onVirtualViewTranslationResponses , onVisibilityAggregated , onVisibilityChanged , onWindowFocusChanged , onWindowSystemUiVisibilityChanged , onWindowVisibilityChanged , overScrollBy , performAccessibilityAction , performContextClick , performContextClick , performHapticFeedback , performHapticFeedback , performLongClick , performLongClick , performReceiveContent , playSoundEffect , post , postDelayed , postInvalidate , postInvalidate , postInvalidateDelayed , postInvalidateDelayed , postInvalidateOnAnimation , postInvalidateOnAnimation , postOnAnimation , postOnAnimationDelayed , refreshDrawableState , releasePointerCapture , removeCallbacks , removeOnAttachStateChangeListener , removeOnLayoutChangeListener , removeOnUnhandledKeyEventListener , requestApplyInsets , requestFitSystemWindows , requestFocus , requestFocus , requestFocusFromTouch , requestLayout , requestPointerCapture , requestRectangleOnScreen , requestRectangleOnScreen , requestUnbufferedDispatch , requestUnbufferedDispatch , requireViewById , resetPivot , resolveSize , resolveSizeAndState , restoreHierarchyState , saveAttributeDataForStyleable , saveHierarchyState , scheduleDrawable , scrollBy , scrollTo , sendAccessibilityEvent , sendAccessibilityEventUnchecked , setAccessibilityDelegate , setAccessibilityHeading , setAccessibilityLiveRegion , setAccessibilityPaneTitle , setAccessibilityTraversalAfter , setAccessibilityTraversalBefore , setActivated , setAllowClickWhenDisabled , setAlpha , setAnimation , setAnimationMatrix , setAutofillHints , setAutofillId , setBackground , setBackgroundColor , setBackgroundDrawable , setBackgroundResource , setBackgroundTintBlendMode , setBackgroundTintList , setBackgroundTintMode , setBottom , setCameraDistance , setClickable , setClipBounds , setClipToOutline , setContentCaptureSession , setContentDescription , setContextClickable , setDefaultFocusHighlightEnabled , setDrawingCacheBackgroundColor , setDrawingCacheEnabled , setDrawingCacheQuality , setDuplicateParentStateEnabled , setElevation , setEnabled , setFadingEdgeLength , setFilterTouchesWhenObscured , setFitsSystemWindows , setFocusable , setFocusable , setFocusableInTouchMode , setFocusedByDefault , setForceDarkAllowed , setForeground , setForegroundTintBlendMode , setForegroundTintList , setForegroundTintMode , setHapticFeedbackEnabled , setHasTransientState , setHorizontalFadingEdgeEnabled , setHorizontalScrollBarEnabled , setHorizontalScrollbarThumbDrawable , setHorizontalScrollbarTrackDrawable , setHovered , setId , setImportantForAccessibility , setImportantForAutofill , setImportantForContentCapture , setKeepScreenOn , setKeyboardNavigationCluster , setLabelFor , setLayerPaint , setLayerType , setLayoutDirection , setLayoutParams , setLeft , setLeftTopRightBottom , setLongClickable , setMeasuredDimension , setMinimumHeight , setMinimumWidth , setNestedScrollingEnabled , setNextClusterForwardId , setNextFocusDownId , setNextFocusForwardId , setNextFocusLeftId , setNextFocusRightId , setNextFocusUpId , setOnApplyWindowInsetsListener , setOnCapturedPointerListener , setOnClickListener , setOnContextClickListener , setOnCreateContextMenuListener , setOnDragListener , setOnFocusChangeListener , setOnGenericMotionListener , setOnHoverListener , setOnKeyListener , setOnLongClickListener , setOnReceiveContentListener , setOnScrollChangeListener , setOnSystemUiVisibilityChangeListener , setOnTouchListener , setOutlineAmbientShadowColor , setOutlineProvider , setOutlineSpotShadowColor , setOverScrollMode , setPadding , setPaddingRelative , setPivotX , setPivotY , setPointerIcon , setPressed , setRenderEffect , setRevealOnFocusHint , setRight , setRotation , setRotationX , setRotationY , setSaveEnabled , setSaveFromParentEnabled , setScaleX , setScaleY , setScreenReaderFocusable , setScrollBarDefaultDelayBeforeFade , setScrollBarFadeDuration , setScrollbarFadingEnabled , setScrollBarSize , setScrollBarStyle , setScrollCaptureCallback , setScrollCaptureHint , setScrollContainer , setScrollIndicators , setScrollIndicators , setScrollX , setScrollY , setSelected , setSoundEffectsEnabled , setStateDescription , setStateListAnimator , setSystemGestureExclusionRects , setSystemUiVisibility , setTag , setTag , setTextAlignment , setTextDirection , setTooltipText , setTop , setTouchDelegate , setTransitionAlpha , setTransitionName , setTransitionVisibility , setTranslationX , setTranslationY , setTranslationZ , setVerticalFadingEdgeEnabled , setVerticalScrollBarEnabled , setVerticalScrollbarPosition , setVerticalScrollbarThumbDrawable , setVerticalScrollbarTrackDrawable , setViewTranslationCallback , setWillNotCacheDrawing , setWillNotDraw , setX , setY , setZ , showContextMenu , showContextMenu , startActionMode , startActionMode , startAnimation , startDrag , startDragAndDrop , startNestedScroll , stopNestedScroll , toString , transformMatrixToGlobal , transformMatrixToLocal , unscheduleDrawable , unscheduleDrawable , updateDragShadow , verifyDrawable , willNotCacheDrawing , willNotDraw
-
-
-
-
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.OnFullScreenModeChangedListener.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.OnFullScreenModeChangedListener.html
index cfba084d9cd..db9cffc9572 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.OnFullScreenModeChangedListener.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.OnFullScreenModeChangedListener.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":6};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
+var data = {"i0":38};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -125,9 +125,12 @@ StyledPlayerControlView
-public static interface StyledPlayerControlView.OnFullScreenModeChangedListener
-Listener to be invoked to inform the fullscreen mode is changed. Application should handle the
- fullscreen mode accordingly.
+@Deprecated
+public static interface StyledPlayerControlView.OnFullScreenModeChangedListener
+Deprecated.
+
+
@@ -142,7 +145,7 @@
Method Summary
-All Methods Instance Methods Abstract Methods
+All Methods Instance Methods Abstract Methods Deprecated Methods
Modifier and Type
Method
@@ -152,6 +155,7 @@ Method Summary
void
onFullScreenModeChanged (boolean isFullScreen)
+Deprecated.
Called to indicate a fullscreen mode change.
@@ -179,6 +183,7 @@ Method Detail
onFullScreenModeChanged
void onFullScreenModeChanged(boolean isFullScreen)
+Deprecated.
Called to indicate a fullscreen mode change.
Parameters:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.VisibilityListener.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.VisibilityListener.html
index 22035a3deab..1355de51a0e 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.VisibilityListener.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.VisibilityListener.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":6};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
+var data = {"i0":38};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -125,8 +125,12 @@ I
StyledPlayerControlView
-public static interface StyledPlayerControlView.VisibilityListener
-Listener to be notified about changes of the visibility of the UI control.
+@Deprecated
+public static interface StyledPlayerControlView.VisibilityListener
+Deprecated.
+
+
@@ -141,7 +145,7 @@ I
Method Summary
-All Methods Instance Methods Abstract Methods
+All Methods Instance Methods Abstract Methods Deprecated Methods
Modifier and Type
Method
@@ -151,6 +155,7 @@ Method Summary
void
onVisibilityChange (int visibility)
+Deprecated.
Called when the visibility changes.
@@ -178,6 +183,7 @@ Method Detail
onVisibilityChange
void onVisibilityChange(int visibility)
+Deprecated.
Called when the visibility changes.
Parameters:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.html
index 3154a721ae6..877101f0d0b 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerControlView.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var data = {"i0":42,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":42,"i18":10,"i19":10,"i20":42,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -272,7 +272,10 @@ Nested Class Summary
static interface
StyledPlayerControlView.OnFullScreenModeChangedListener
-Listener to be invoked to inform the fullscreen mode is changed.
+Deprecated.
+
+
@@ -286,7 +289,10 @@ Nested Class Summary
static interface
StyledPlayerControlView.VisibilityListener
-Listener to be notified about changes of the visibility of the UI control.
+Deprecated.
+
+
@@ -369,7 +375,7 @@ Fields inherited from class android.view.View
-ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
+ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_ACCESSIBILITY_ACTION , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
@@ -421,7 +427,7 @@ Constructor Summary
Method Summary
-All Methods Instance Methods Concrete Methods
+All Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type
Method
@@ -431,7 +437,10 @@ Method Summary
void
addVisibilityListener (StyledPlayerControlView.VisibilityListener listener)
-
+Deprecated.
+
+
@@ -547,7 +556,10 @@ Method Summary
void
removeVisibilityListener (StyledPlayerControlView.VisibilityListener listener)
-
+Deprecated.
+
+
@@ -570,7 +582,10 @@ Method Summary
void
setOnFullScreenModeChangedListener (StyledPlayerControlView.OnFullScreenModeChangedListener listener)
-Sets a listener to be called when the fullscreen mode should be changed.
+Deprecated.
+
+
@@ -926,12 +941,12 @@ setExtraAdGroupMarkers
@@ -940,12 +955,12 @@ addVisibilityListener
@@ -1217,15 +1232,13 @@ setTimeBarMinUpdateInterval
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.ControllerVisibilityListener.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.ControllerVisibilityListener.html
new file mode 100644
index 00000000000..5a8a2a568a9
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.ControllerVisibilityListener.html
@@ -0,0 +1,258 @@
+
+
+
+
+StyledPlayerView.ControllerVisibilityListener (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.FullscreenButtonClickListener.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.FullscreenButtonClickListener.html
new file mode 100644
index 00000000000..2036f79f3bd
--- /dev/null
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.FullscreenButtonClickListener.html
@@ -0,0 +1,260 @@
+
+
+
+
+StyledPlayerView.FullscreenButtonClickListener (ExoPlayer library)
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.html
index 181a38fca3d..2beb883c796 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":9};
-var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":42,"i27":10,"i28":42,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -262,6 +262,20 @@ Nested Class Summary
static interface
+StyledPlayerView.ControllerVisibilityListener
+
+Listener to be notified about changes of the visibility of the UI controls.
+
+
+
+static interface
+StyledPlayerView.FullscreenButtonClickListener
+
+Listener invoked when the fullscreen button is clicked.
+
+
+
+static interface
StyledPlayerView.ShowBuffering
Determines when the buffering view is shown.
@@ -341,7 +355,7 @@ Fields inherited from class android.view.View
-ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
+ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_ACCESSIBILITY_ACTION , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
@@ -386,7 +400,7 @@ Constructor Summary
Method Summary
-All Methods Static Methods Instance Methods Concrete Methods
+All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type
Method
@@ -540,27 +554,22 @@ Method Summary
boolean
-onTouchEvent (MotionEvent event)
-
-
-
-boolean
onTrackballEvent (MotionEvent ev)
-
+
boolean
performClick ()
-
+
void
setAspectRatioListener (AspectRatioFrameLayout.AspectRatioListener listener)
-
+
void
setControllerAutoShow (boolean controllerAutoShow)
@@ -568,38 +577,50 @@ Method Summary
or fails.
-
+
void
setControllerHideDuringAds (boolean controllerHideDuringAds)
Sets whether the playback controls are hidden when ads are playing.
-
+
void
setControllerHideOnTouch (boolean controllerHideOnTouch)
Sets whether the playback controls are hidden by touch events.
-
+
void
setControllerOnFullScreenModeChangedListener (StyledPlayerControlView.OnFullScreenModeChangedListener listener)
-
+Deprecated.
+
+
-
+
void
setControllerShowTimeoutMs (int controllerShowTimeoutMs)
Sets the playback controls timeout.
-
+
void
setControllerVisibilityListener (StyledPlayerControlView.VisibilityListener listener)
+Deprecated.
+
+
+
+
+
+void
+setControllerVisibilityListener (StyledPlayerView.ControllerVisibilityListener listener)
+
@@ -636,130 +657,137 @@ Method Summary
void
+setFullscreenButtonClickListener (StyledPlayerView.FullscreenButtonClickListener listener)
+
+
+
+
+
+void
setKeepContentOnPlayerReset (boolean keepContentOnPlayerReset)
Sets whether the currently displayed video frame or media artwork is kept visible when the
player is reset.
-
+
void
setPlayer (Player player)
-
+
void
setRepeatToggleModes (@com.google.android.exoplayer2.util.RepeatModeUtil.RepeatToggleModes int repeatToggleModes)
Sets which repeat toggle modes are enabled.
-
+
void
setResizeMode (@com.google.android.exoplayer2.ui.AspectRatioFrameLayout.ResizeMode int resizeMode)
-
+
void
setShowBuffering (@com.google.android.exoplayer2.ui.StyledPlayerView.ShowBuffering int showBuffering)
Sets whether a buffering spinner is displayed when the player is in the buffering state.
-
+
void
setShowFastForwardButton (boolean showFastForwardButton)
Sets whether the fast forward button is shown.
-
+
void
setShowMultiWindowTimeBar (boolean showMultiWindowTimeBar)
Sets whether the time bar should show all windows, as opposed to just the current one.
-
+
void
setShowNextButton (boolean showNextButton)
Sets whether the next button is shown.
-
+
void
setShowPreviousButton (boolean showPreviousButton)
Sets whether the previous button is shown.
-
+
void
setShowRewindButton (boolean showRewindButton)
Sets whether the rewind button is shown.
-
+
void
setShowShuffleButton (boolean showShuffleButton)
Sets whether the shuffle button is shown.
-
+
void
setShowSubtitleButton (boolean showSubtitleButton)
Sets whether the subtitle button is shown.
-
+
void
setShowVrButton (boolean showVrButton)
Sets whether the vr button is shown.
-
+
void
setShutterBackgroundColor (int color)
Sets the background color of the exo_shutter
view.
-
+
void
setUseArtwork (boolean useArtwork)
Sets whether artwork is displayed if present in the media.
-
+
void
setUseController (boolean useController)
Sets whether the playback controls can be shown.
-
+
void
setVisibility (int visibility)
-
+
void
showController ()
Shows the playback controls.
-
+
static void
switchTargetView (Player player,
StyledPlayerView oldPlayerView,
@@ -788,7 +816,7 @@ Methods inherited from class android.view.View
-addFocusables , addOnAttachStateChangeListener , addOnLayoutChangeListener , addOnUnhandledKeyEventListener , animate , announceForAccessibility , autofill , autofill , awakenScrollBars , awakenScrollBars , awakenScrollBars , bringToFront , buildDrawingCache , buildDrawingCache , buildLayer , callOnClick , cancelDragAndDrop , cancelLongPress , cancelPendingInputEvents , canResolveLayoutDirection , canResolveTextAlignment , canResolveTextDirection , canScrollHorizontally , canScrollVertically , checkInputConnectionProxy , clearAnimation , clearViewTranslationCallback , combineMeasuredStates , computeHorizontalScrollExtent , computeHorizontalScrollOffset , computeHorizontalScrollRange , computeScroll , computeSystemWindowInsets , computeVerticalScrollExtent , computeVerticalScrollOffset , computeVerticalScrollRange , createAccessibilityNodeInfo , createContextMenu , destroyDrawingCache , dispatchGenericMotionEvent , dispatchNestedFling , dispatchNestedPreFling , dispatchNestedPrePerformAccessibilityAction , dispatchNestedPreScroll , dispatchNestedScroll , dispatchPopulateAccessibilityEvent , draw , drawableHotspotChanged , findViewById , findViewWithTag , fitSystemWindows , focusSearch , forceHasOverlappingRendering , forceLayout , generateDisplayHash , generateViewId , getAccessibilityDelegate , getAccessibilityLiveRegion , getAccessibilityNodeProvider , getAccessibilityPaneTitle , getAccessibilityTraversalAfter , getAccessibilityTraversalBefore , getAlpha , getAnimation , getAnimationMatrix , getApplicationWindowToken , getAttributeResolutionStack , getAttributeSourceResourceMap , getAutofillHints , getAutofillId , getAutofillType , getAutofillValue , getBackground , getBackgroundTintBlendMode , getBackgroundTintList , getBackgroundTintMode , getBaseline , getBottom , getBottomFadingEdgeStrength , getBottomPaddingOffset , getCameraDistance , getClipBounds , getClipBounds , getClipToOutline , getContentCaptureSession , getContentDescription , getContext , getContextMenuInfo , getDefaultFocusHighlightEnabled , getDefaultSize , getDisplay , getDrawableState , getDrawingCache , getDrawingCache , getDrawingCacheBackgroundColor , getDrawingCacheQuality , getDrawingRect , getDrawingTime , getElevation , getExplicitStyle , getFilterTouchesWhenObscured , getFitsSystemWindows , getFocusable , getFocusables , getFocusedRect , getForeground , getForegroundGravity , getForegroundTintBlendMode , getForegroundTintList , getForegroundTintMode , getGlobalVisibleRect , getGlobalVisibleRect , getHandler , getHasOverlappingRendering , getHeight , getHitRect , getHorizontalFadingEdgeLength , getHorizontalScrollbarHeight , getHorizontalScrollbarThumbDrawable , getHorizontalScrollbarTrackDrawable , getId , getImportantForAccessibility , getImportantForAutofill , getImportantForContentCapture , getKeepScreenOn , getKeyDispatcherState , getLabelFor , getLayerType , getLayoutDirection , getLayoutParams , getLeft , getLeftFadingEdgeStrength , getLeftPaddingOffset , getLocalVisibleRect , getLocationInSurface , getLocationInWindow , getLocationOnScreen , getMatrix , getMeasuredHeight , getMeasuredHeightAndState , getMeasuredState , getMeasuredWidth , getMeasuredWidthAndState , getMinimumHeight , getMinimumWidth , getNextClusterForwardId , getNextFocusDownId , getNextFocusForwardId , getNextFocusLeftId , getNextFocusRightId , getNextFocusUpId , getOnFocusChangeListener , getOutlineAmbientShadowColor , getOutlineProvider , getOutlineSpotShadowColor , getOverScrollMode , getPaddingBottom , getPaddingEnd , getPaddingLeft , getPaddingRight , getPaddingStart , getPaddingTop , getParent , getParentForAccessibility , getPivotX , getPivotY , getPointerIcon , getReceiveContentMimeTypes , getResources , getRevealOnFocusHint , getRight , getRightFadingEdgeStrength , getRightPaddingOffset , getRootSurfaceControl , getRootView , getRootWindowInsets , getRotation , getRotationX , getRotationY , getScaleX , getScaleY , getScrollBarDefaultDelayBeforeFade , getScrollBarFadeDuration , getScrollBarSize , getScrollBarStyle , getScrollCaptureHint , getScrollIndicators , getScrollX , getScrollY , getSolidColor , getSourceLayoutResId , getStateDescription , getStateListAnimator , getSuggestedMinimumHeight , getSuggestedMinimumWidth , getSystemGestureExclusionRects , getSystemUiVisibility , getTag , getTag , getTextAlignment , getTextDirection , getTooltipText , getTop , getTopFadingEdgeStrength , getTopPaddingOffset , getTouchables , getTouchDelegate , getTransitionAlpha , getTransitionName , getTranslationX , getTranslationY , getTranslationZ , getUniqueDrawingId , getVerticalFadingEdgeLength , getVerticalScrollbarPosition , getVerticalScrollbarThumbDrawable , getVerticalScrollbarTrackDrawable , getVerticalScrollbarWidth , getViewTranslationResponse , getViewTreeObserver , getVisibility , getWidth , getWindowAttachCount , getWindowId , getWindowInsetsController , getWindowSystemUiVisibility , getWindowToken , getWindowVisibility , getWindowVisibleDisplayFrame , getX , getY , getZ , hasExplicitFocusable , hasFocusable , hasNestedScrollingParent , hasOnClickListeners , hasOnLongClickListeners , hasOverlappingRendering , hasPointerCapture , hasWindowFocus , inflate , invalidate , invalidate , invalidate , invalidateDrawable , invalidateOutline , isAccessibilityFocused , isAccessibilityHeading , isActivated , isAttachedToWindow , isClickable , isContextClickable , isDirty , isDrawingCacheEnabled , isDuplicateParentStateEnabled , isEnabled , isFocusable , isFocusableInTouchMode , isFocused , isFocusedByDefault , isForceDarkAllowed , isHapticFeedbackEnabled , isHardwareAccelerated , isHorizontalFadingEdgeEnabled , isHorizontalScrollBarEnabled , isHovered , isImportantForAccessibility , isImportantForAutofill , isImportantForContentCapture , isInEditMode , isInLayout , isInTouchMode , isKeyboardNavigationCluster , isLaidOut , isLayoutDirectionResolved , isLayoutRequested , isLongClickable , isNestedScrollingEnabled , isOpaque , isPaddingOffsetRequired , isPaddingRelative , isPivotSet , isPressed , isSaveEnabled , isSaveFromParentEnabled , isScreenReaderFocusable , isScrollbarFadingEnabled , isScrollContainer , isSelected , isShowingLayoutBounds , isShown , isSoundEffectsEnabled , isTemporarilyDetached , isTextAlignmentResolved , isTextDirectionResolved , isVerticalFadingEdgeEnabled , isVerticalScrollBarEnabled , isVisibleToUserForAutofill , keyboardNavigationClusterSearch , measure , mergeDrawableStates , offsetLeftAndRight , offsetTopAndBottom , onAnimationEnd , onAnimationStart , onApplyWindowInsets , onCancelPendingInputEvents , onCapturedPointerEvent , onCheckIsTextEditor , onConfigurationChanged , onCreateContextMenu , onCreateInputConnection , onCreateViewTranslationRequest , onCreateVirtualViewTranslationRequests , onDisplayHint , onDragEvent , onDraw , onDrawForeground , onDrawScrollBars , onFilterTouchEventForSecurity , onFinishInflate , onFinishTemporaryDetach , onFocusChanged , onGenericMotionEvent , onHoverChanged , onHoverEvent , onInitializeAccessibilityEvent , onInitializeAccessibilityNodeInfo , onKeyDown , onKeyLongPress , onKeyMultiple , onKeyPreIme , onKeyShortcut , onKeyUp , onOverScrolled , onPointerCaptureChange , onPopulateAccessibilityEvent , onProvideAutofillStructure , onProvideAutofillVirtualStructure , onProvideContentCaptureStructure , onProvideStructure , onProvideVirtualStructure , onReceiveContent , onRestoreInstanceState , onRtlPropertiesChanged , onSaveInstanceState , onScreenStateChanged , onScrollCaptureSearch , onScrollChanged , onSetAlpha , onSizeChanged , onStartTemporaryDetach , onViewTranslationResponse , onVirtualViewTranslationResponses , onVisibilityAggregated , onVisibilityChanged , onWindowFocusChanged , onWindowSystemUiVisibilityChanged , onWindowVisibilityChanged , overScrollBy , performAccessibilityAction , performContextClick , performContextClick , performHapticFeedback , performHapticFeedback , performLongClick , performLongClick , performReceiveContent , playSoundEffect , post , postDelayed , postInvalidate , postInvalidate , postInvalidateDelayed , postInvalidateDelayed , postInvalidateOnAnimation , postInvalidateOnAnimation , postOnAnimation , postOnAnimationDelayed , refreshDrawableState , releasePointerCapture , removeCallbacks , removeOnAttachStateChangeListener , removeOnLayoutChangeListener , removeOnUnhandledKeyEventListener , requestApplyInsets , requestFitSystemWindows , requestFocus , requestFocus , requestFocusFromTouch , requestLayout , requestPointerCapture , requestRectangleOnScreen , requestRectangleOnScreen , requestUnbufferedDispatch , requestUnbufferedDispatch , requireViewById , resetPivot , resolveSize , resolveSizeAndState , restoreHierarchyState , saveAttributeDataForStyleable , saveHierarchyState , scheduleDrawable , scrollBy , scrollTo , sendAccessibilityEvent , sendAccessibilityEventUnchecked , setAccessibilityDelegate , setAccessibilityHeading , setAccessibilityLiveRegion , setAccessibilityPaneTitle , setAccessibilityTraversalAfter , setAccessibilityTraversalBefore , setActivated , setAllowClickWhenDisabled , setAlpha , setAnimation , setAnimationMatrix , setAutofillHints , setAutofillId , setBackground , setBackgroundColor , setBackgroundDrawable , setBackgroundResource , setBackgroundTintBlendMode , setBackgroundTintList , setBackgroundTintMode , setBottom , setCameraDistance , setClickable , setClipBounds , setClipToOutline , setContentCaptureSession , setContentDescription , setContextClickable , setDefaultFocusHighlightEnabled , setDrawingCacheBackgroundColor , setDrawingCacheEnabled , setDrawingCacheQuality , setDuplicateParentStateEnabled , setElevation , setEnabled , setFadingEdgeLength , setFilterTouchesWhenObscured , setFitsSystemWindows , setFocusable , setFocusable , setFocusableInTouchMode , setFocusedByDefault , setForceDarkAllowed , setForeground , setForegroundTintBlendMode , setForegroundTintList , setForegroundTintMode , setHapticFeedbackEnabled , setHasTransientState , setHorizontalFadingEdgeEnabled , setHorizontalScrollBarEnabled , setHorizontalScrollbarThumbDrawable , setHorizontalScrollbarTrackDrawable , setHovered , setId , setImportantForAccessibility , setImportantForAutofill , setImportantForContentCapture , setKeepScreenOn , setKeyboardNavigationCluster , setLabelFor , setLayerPaint , setLayerType , setLayoutDirection , setLayoutParams , setLeft , setLeftTopRightBottom , setLongClickable , setMeasuredDimension , setMinimumHeight , setMinimumWidth , setNestedScrollingEnabled , setNextClusterForwardId , setNextFocusDownId , setNextFocusForwardId , setNextFocusLeftId , setNextFocusRightId , setNextFocusUpId , setOnApplyWindowInsetsListener , setOnCapturedPointerListener , setOnClickListener , setOnContextClickListener , setOnCreateContextMenuListener , setOnDragListener , setOnFocusChangeListener , setOnGenericMotionListener , setOnHoverListener , setOnKeyListener , setOnLongClickListener , setOnReceiveContentListener , setOnScrollChangeListener , setOnSystemUiVisibilityChangeListener , setOnTouchListener , setOutlineAmbientShadowColor , setOutlineProvider , setOutlineSpotShadowColor , setOverScrollMode , setPadding , setPaddingRelative , setPivotX , setPivotY , setPointerIcon , setPressed , setRenderEffect , setRevealOnFocusHint , setRight , setRotation , setRotationX , setRotationY , setSaveEnabled , setSaveFromParentEnabled , setScaleX , setScaleY , setScreenReaderFocusable , setScrollBarDefaultDelayBeforeFade , setScrollBarFadeDuration , setScrollbarFadingEnabled , setScrollBarSize , setScrollBarStyle , setScrollCaptureCallback , setScrollCaptureHint , setScrollContainer , setScrollIndicators , setScrollIndicators , setScrollX , setScrollY , setSelected , setSoundEffectsEnabled , setStateDescription , setStateListAnimator , setSystemGestureExclusionRects , setSystemUiVisibility , setTag , setTag , setTextAlignment , setTextDirection , setTooltipText , setTop , setTouchDelegate , setTransitionAlpha , setTransitionName , setTransitionVisibility , setTranslationX , setTranslationY , setTranslationZ , setVerticalFadingEdgeEnabled , setVerticalScrollBarEnabled , setVerticalScrollbarPosition , setVerticalScrollbarThumbDrawable , setVerticalScrollbarTrackDrawable , setViewTranslationCallback , setWillNotCacheDrawing , setWillNotDraw , setX , setY , setZ , showContextMenu , showContextMenu , startActionMode , startActionMode , startAnimation , startDrag , startDragAndDrop , startNestedScroll , stopNestedScroll , toString , transformMatrixToGlobal , transformMatrixToLocal , unscheduleDrawable , unscheduleDrawable , updateDragShadow , verifyDrawable , willNotCacheDrawing , willNotDraw
+addFocusables , addOnAttachStateChangeListener , addOnLayoutChangeListener , addOnUnhandledKeyEventListener , animate , announceForAccessibility , autofill , autofill , awakenScrollBars , awakenScrollBars , awakenScrollBars , bringToFront , buildDrawingCache , buildDrawingCache , buildLayer , callOnClick , cancelDragAndDrop , cancelLongPress , cancelPendingInputEvents , canResolveLayoutDirection , canResolveTextAlignment , canResolveTextDirection , canScrollHorizontally , canScrollVertically , checkInputConnectionProxy , clearAnimation , clearViewTranslationCallback , combineMeasuredStates , computeHorizontalScrollExtent , computeHorizontalScrollOffset , computeHorizontalScrollRange , computeScroll , computeSystemWindowInsets , computeVerticalScrollExtent , computeVerticalScrollOffset , computeVerticalScrollRange , createAccessibilityNodeInfo , createContextMenu , destroyDrawingCache , dispatchGenericMotionEvent , dispatchNestedFling , dispatchNestedPreFling , dispatchNestedPrePerformAccessibilityAction , dispatchNestedPreScroll , dispatchNestedScroll , dispatchPopulateAccessibilityEvent , draw , drawableHotspotChanged , findViewById , findViewWithTag , fitSystemWindows , focusSearch , forceHasOverlappingRendering , forceLayout , generateDisplayHash , generateViewId , getAccessibilityDelegate , getAccessibilityLiveRegion , getAccessibilityNodeProvider , getAccessibilityPaneTitle , getAccessibilityTraversalAfter , getAccessibilityTraversalBefore , getAlpha , getAnimation , getAnimationMatrix , getApplicationWindowToken , getAttributeResolutionStack , getAttributeSourceResourceMap , getAutofillHints , getAutofillId , getAutofillType , getAutofillValue , getBackground , getBackgroundTintBlendMode , getBackgroundTintList , getBackgroundTintMode , getBaseline , getBottom , getBottomFadingEdgeStrength , getBottomPaddingOffset , getCameraDistance , getClipBounds , getClipBounds , getClipToOutline , getContentCaptureSession , getContentDescription , getContext , getContextMenuInfo , getDefaultFocusHighlightEnabled , getDefaultSize , getDisplay , getDrawableState , getDrawingCache , getDrawingCache , getDrawingCacheBackgroundColor , getDrawingCacheQuality , getDrawingRect , getDrawingTime , getElevation , getExplicitStyle , getFilterTouchesWhenObscured , getFitsSystemWindows , getFocusable , getFocusables , getFocusedRect , getForeground , getForegroundGravity , getForegroundTintBlendMode , getForegroundTintList , getForegroundTintMode , getGlobalVisibleRect , getGlobalVisibleRect , getHandler , getHasOverlappingRendering , getHeight , getHitRect , getHorizontalFadingEdgeLength , getHorizontalScrollbarHeight , getHorizontalScrollbarThumbDrawable , getHorizontalScrollbarTrackDrawable , getId , getImportantForAccessibility , getImportantForAutofill , getImportantForContentCapture , getKeepScreenOn , getKeyDispatcherState , getLabelFor , getLayerType , getLayoutDirection , getLayoutParams , getLeft , getLeftFadingEdgeStrength , getLeftPaddingOffset , getLocalVisibleRect , getLocationInSurface , getLocationInWindow , getLocationOnScreen , getMatrix , getMeasuredHeight , getMeasuredHeightAndState , getMeasuredState , getMeasuredWidth , getMeasuredWidthAndState , getMinimumHeight , getMinimumWidth , getNextClusterForwardId , getNextFocusDownId , getNextFocusForwardId , getNextFocusLeftId , getNextFocusRightId , getNextFocusUpId , getOnFocusChangeListener , getOutlineAmbientShadowColor , getOutlineProvider , getOutlineSpotShadowColor , getOverScrollMode , getPaddingBottom , getPaddingEnd , getPaddingLeft , getPaddingRight , getPaddingStart , getPaddingTop , getParent , getParentForAccessibility , getPivotX , getPivotY , getPointerIcon , getReceiveContentMimeTypes , getResources , getRevealOnFocusHint , getRight , getRightFadingEdgeStrength , getRightPaddingOffset , getRootSurfaceControl , getRootView , getRootWindowInsets , getRotation , getRotationX , getRotationY , getScaleX , getScaleY , getScrollBarDefaultDelayBeforeFade , getScrollBarFadeDuration , getScrollBarSize , getScrollBarStyle , getScrollCaptureHint , getScrollIndicators , getScrollX , getScrollY , getSolidColor , getSourceLayoutResId , getStateDescription , getStateListAnimator , getSuggestedMinimumHeight , getSuggestedMinimumWidth , getSystemGestureExclusionRects , getSystemUiVisibility , getTag , getTag , getTextAlignment , getTextDirection , getTooltipText , getTop , getTopFadingEdgeStrength , getTopPaddingOffset , getTouchables , getTouchDelegate , getTransitionAlpha , getTransitionName , getTranslationX , getTranslationY , getTranslationZ , getUniqueDrawingId , getVerticalFadingEdgeLength , getVerticalScrollbarPosition , getVerticalScrollbarThumbDrawable , getVerticalScrollbarTrackDrawable , getVerticalScrollbarWidth , getViewTranslationResponse , getViewTreeObserver , getVisibility , getWidth , getWindowAttachCount , getWindowId , getWindowInsetsController , getWindowSystemUiVisibility , getWindowToken , getWindowVisibility , getWindowVisibleDisplayFrame , getX , getY , getZ , hasExplicitFocusable , hasFocusable , hasNestedScrollingParent , hasOnClickListeners , hasOnLongClickListeners , hasOverlappingRendering , hasPointerCapture , hasWindowFocus , inflate , invalidate , invalidate , invalidate , invalidateDrawable , invalidateOutline , isAccessibilityFocused , isAccessibilityHeading , isActivated , isAttachedToWindow , isClickable , isContextClickable , isDirty , isDrawingCacheEnabled , isDuplicateParentStateEnabled , isEnabled , isFocusable , isFocusableInTouchMode , isFocused , isFocusedByDefault , isForceDarkAllowed , isHapticFeedbackEnabled , isHardwareAccelerated , isHorizontalFadingEdgeEnabled , isHorizontalScrollBarEnabled , isHovered , isImportantForAccessibility , isImportantForAutofill , isImportantForContentCapture , isInEditMode , isInLayout , isInTouchMode , isKeyboardNavigationCluster , isLaidOut , isLayoutDirectionResolved , isLayoutRequested , isLongClickable , isNestedScrollingEnabled , isOpaque , isPaddingOffsetRequired , isPaddingRelative , isPivotSet , isPressed , isSaveEnabled , isSaveFromParentEnabled , isScreenReaderFocusable , isScrollbarFadingEnabled , isScrollContainer , isSelected , isShowingLayoutBounds , isShown , isSoundEffectsEnabled , isTemporarilyDetached , isTextAlignmentResolved , isTextDirectionResolved , isVerticalFadingEdgeEnabled , isVerticalScrollBarEnabled , isVisibleToUserForAutofill , keyboardNavigationClusterSearch , measure , mergeDrawableStates , offsetLeftAndRight , offsetTopAndBottom , onAnimationEnd , onAnimationStart , onApplyWindowInsets , onCancelPendingInputEvents , onCapturedPointerEvent , onCheckIsTextEditor , onConfigurationChanged , onCreateContextMenu , onCreateInputConnection , onCreateViewTranslationRequest , onCreateVirtualViewTranslationRequests , onDisplayHint , onDragEvent , onDraw , onDrawForeground , onDrawScrollBars , onFilterTouchEventForSecurity , onFinishInflate , onFinishTemporaryDetach , onFocusChanged , onGenericMotionEvent , onHoverChanged , onHoverEvent , onInitializeAccessibilityEvent , onInitializeAccessibilityNodeInfo , onKeyDown , onKeyLongPress , onKeyMultiple , onKeyPreIme , onKeyShortcut , onKeyUp , onOverScrolled , onPointerCaptureChange , onPopulateAccessibilityEvent , onProvideAutofillStructure , onProvideAutofillVirtualStructure , onProvideContentCaptureStructure , onProvideStructure , onProvideVirtualStructure , onReceiveContent , onRestoreInstanceState , onRtlPropertiesChanged , onSaveInstanceState , onScreenStateChanged , onScrollCaptureSearch , onScrollChanged , onSetAlpha , onSizeChanged , onStartTemporaryDetach , onTouchEvent , onViewTranslationResponse , onVirtualViewTranslationResponses , onVisibilityAggregated , onVisibilityChanged , onWindowFocusChanged , onWindowSystemUiVisibilityChanged , onWindowVisibilityChanged , overScrollBy , performAccessibilityAction , performContextClick , performContextClick , performHapticFeedback , performHapticFeedback , performLongClick , performLongClick , performReceiveContent , playSoundEffect , post , postDelayed , postInvalidate , postInvalidate , postInvalidateDelayed , postInvalidateDelayed , postInvalidateOnAnimation , postInvalidateOnAnimation , postOnAnimation , postOnAnimationDelayed , refreshDrawableState , releasePointerCapture , removeCallbacks , removeOnAttachStateChangeListener , removeOnLayoutChangeListener , removeOnUnhandledKeyEventListener , requestApplyInsets , requestFitSystemWindows , requestFocus , requestFocus , requestFocusFromTouch , requestLayout , requestPointerCapture , requestRectangleOnScreen , requestRectangleOnScreen , requestUnbufferedDispatch , requestUnbufferedDispatch , requireViewById , resetPivot , resolveSize , resolveSizeAndState , restoreHierarchyState , saveAttributeDataForStyleable , saveHierarchyState , scheduleDrawable , scrollBy , scrollTo , sendAccessibilityEvent , sendAccessibilityEventUnchecked , setAccessibilityDelegate , setAccessibilityHeading , setAccessibilityLiveRegion , setAccessibilityPaneTitle , setAccessibilityTraversalAfter , setAccessibilityTraversalBefore , setActivated , setAllowClickWhenDisabled , setAlpha , setAnimation , setAnimationMatrix , setAutofillHints , setAutofillId , setBackground , setBackgroundColor , setBackgroundDrawable , setBackgroundResource , setBackgroundTintBlendMode , setBackgroundTintList , setBackgroundTintMode , setBottom , setCameraDistance , setClickable , setClipBounds , setClipToOutline , setContentCaptureSession , setContentDescription , setContextClickable , setDefaultFocusHighlightEnabled , setDrawingCacheBackgroundColor , setDrawingCacheEnabled , setDrawingCacheQuality , setDuplicateParentStateEnabled , setElevation , setEnabled , setFadingEdgeLength , setFilterTouchesWhenObscured , setFitsSystemWindows , setFocusable , setFocusable , setFocusableInTouchMode , setFocusedByDefault , setForceDarkAllowed , setForeground , setForegroundTintBlendMode , setForegroundTintList , setForegroundTintMode , setHapticFeedbackEnabled , setHasTransientState , setHorizontalFadingEdgeEnabled , setHorizontalScrollBarEnabled , setHorizontalScrollbarThumbDrawable , setHorizontalScrollbarTrackDrawable , setHovered , setId , setImportantForAccessibility , setImportantForAutofill , setImportantForContentCapture , setKeepScreenOn , setKeyboardNavigationCluster , setLabelFor , setLayerPaint , setLayerType , setLayoutDirection , setLayoutParams , setLeft , setLeftTopRightBottom , setLongClickable , setMeasuredDimension , setMinimumHeight , setMinimumWidth , setNestedScrollingEnabled , setNextClusterForwardId , setNextFocusDownId , setNextFocusForwardId , setNextFocusLeftId , setNextFocusRightId , setNextFocusUpId , setOnApplyWindowInsetsListener , setOnCapturedPointerListener , setOnClickListener , setOnContextClickListener , setOnCreateContextMenuListener , setOnDragListener , setOnFocusChangeListener , setOnGenericMotionListener , setOnHoverListener , setOnKeyListener , setOnLongClickListener , setOnReceiveContentListener , setOnScrollChangeListener , setOnSystemUiVisibilityChangeListener , setOnTouchListener , setOutlineAmbientShadowColor , setOutlineProvider , setOutlineSpotShadowColor , setOverScrollMode , setPadding , setPaddingRelative , setPivotX , setPivotY , setPointerIcon , setPressed , setRenderEffect , setRevealOnFocusHint , setRight , setRotation , setRotationX , setRotationY , setSaveEnabled , setSaveFromParentEnabled , setScaleX , setScaleY , setScreenReaderFocusable , setScrollBarDefaultDelayBeforeFade , setScrollBarFadeDuration , setScrollbarFadingEnabled , setScrollBarSize , setScrollBarStyle , setScrollCaptureCallback , setScrollCaptureHint , setScrollContainer , setScrollIndicators , setScrollIndicators , setScrollX , setScrollY , setSelected , setSoundEffectsEnabled , setStateDescription , setStateListAnimator , setSystemGestureExclusionRects , setSystemUiVisibility , setTag , setTag , setTextAlignment , setTextDirection , setTooltipText , setTop , setTouchDelegate , setTransitionAlpha , setTransitionName , setTransitionVisibility , setTranslationX , setTranslationY , setTranslationZ , setVerticalFadingEdgeEnabled , setVerticalScrollBarEnabled , setVerticalScrollbarPosition , setVerticalScrollbarThumbDrawable , setVerticalScrollbarTrackDrawable , setViewTranslationCallback , setWillNotCacheDrawing , setWillNotDraw , setX , setY , setZ , showContextMenu , showContextMenu , startActionMode , startActionMode , startAnimation , startDrag , startDragAndDrop , startNestedScroll , stopNestedScroll , toString , transformMatrixToGlobal , transformMatrixToLocal , unscheduleDrawable , unscheduleDrawable , updateDragShadow , verifyDrawable , willNotCacheDrawing , willNotDraw
@@ -1075,7 +1103,10 @@ getUseController
setUseController
public void setUseController(boolean useController)
Sets whether the playback controls can be shown. If set to false
the playback controls
- are never visible and are disconnected from the player.
+ are never visible and are disconnected from the player.
+
+ This call will update whether the view is clickable. After the call, the view will be
+ clickable if playback controls can be shown or if the view has a registered click listener.
Parameters:
useController
- Whether the playback controls can be shown.
@@ -1088,7 +1119,8 @@ setUseController
setShutterBackgroundColor
-public void setShutterBackgroundColor(int color)
+public void setShutterBackgroundColor(@ColorInt
+ int color)
Sets the background color of the exo_shutter
view.
Parameters:
@@ -1332,15 +1364,17 @@ setControllerHideDuringAds
-
+
+
+
+
+
+
+
+
+
-
-
-
-
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/SubtitleView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/SubtitleView.html
index 54fb3ee02d3..3c5ad899048 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/SubtitleView.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/SubtitleView.html
@@ -25,7 +25,7 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -145,12 +145,11 @@ Class SubtitleView
All Implemented Interfaces:
-Drawable.Callback
, AccessibilityEventSource
, KeyEvent.Callback
, ViewManager
, ViewParent
, Player.Listener
+Drawable.Callback
, AccessibilityEventSource
, KeyEvent.Callback
, ViewManager
, ViewParent
public final class SubtitleView
-extends FrameLayout
-implements Player.Listener
+extends FrameLayout
A view for displaying subtitle
Cue
s.
@@ -260,7 +259,7 @@ Fields inherited from class android.view.View
-ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
+ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_ACCESSIBILITY_ACTION , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
@@ -307,26 +306,19 @@ Method Summary
void
-onCues (List <Cue > cues)
-
-Called when there is a change in the
Cues
.
-
-
-
-void
setApplyEmbeddedFontSizes (boolean applyEmbeddedFontSizes)
Sets whether font sizes embedded within the cues should be applied.
-
+
void
setApplyEmbeddedStyles (boolean applyEmbeddedStyles)
Sets whether styling embedded within the cues should be applied.
-
+
void
setBottomPaddingFraction (float bottomPaddingFraction)
@@ -335,14 +327,14 @@ Method Summary
subtracted.
-
+
void
setCues (List <Cue > cues)
Sets the cues to be displayed by the view.
-
+
void
setFixedTextSize (int unit,
float size)
@@ -350,7 +342,7 @@ Method Summary
Sets the text size to a given unit and value.
-
+
void
setFractionalTextSize (float fractionOfHeight)
@@ -358,7 +350,7 @@ Method Summary
padding have been subtracted.
-
+
void
setFractionalTextSize (float fractionOfHeight,
boolean ignorePadding)
@@ -366,14 +358,14 @@ Method Summary
Sets the text size to be a fraction of the height of this view.
-
+
void
setStyle (CaptionStyleCompat style)
Sets the caption style.
-
+
void
setUserDefaultStyle ()
@@ -381,14 +373,14 @@ Method Summary
is available and enabled.
-
+
void
setUserDefaultTextSize ()
-
+
void
setViewType (@com.google.android.exoplayer2.ui.SubtitleView.ViewType int viewType)
@@ -425,13 +417,6 @@ Methods inherited from class java.lang.clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
-
-
-
-Methods inherited from interface com.google.android.exoplayer2.Player.Listener
-onAudioAttributesChanged , onAudioSessionIdChanged , onAvailableCommandsChanged , onDeviceInfoChanged , onDeviceVolumeChanged , onEvents , onIsLoadingChanged , onIsPlayingChanged , onLoadingChanged , onMaxSeekToPreviousPositionChanged , onMediaItemTransition , onMediaMetadataChanged , onMetadata , onPlaybackParametersChanged , onPlaybackStateChanged , onPlaybackSuppressionReasonChanged , onPlayerError , onPlayerErrorChanged , onPlayerStateChanged , onPlaylistMetadataChanged , onPlayWhenReadyChanged , onPositionDiscontinuity , onPositionDiscontinuity , onRenderedFirstFrame , onRepeatModeChanged , onSeekBackIncrementChanged , onSeekForwardIncrementChanged , onSeekProcessed , onShuffleModeEnabledChanged , onSkipSilenceEnabledChanged , onSurfaceSizeChanged , onTimelineChanged , onTracksChanged , onTrackSelectionParametersChanged , onTracksInfoChanged , onVideoSizeChanged , onVolumeChanged
-
-
@@ -556,29 +541,6 @@ SubtitleView
Method Detail
-
-
-
-
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.DialogCallback.html b/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.DialogCallback.html
index 08b47c2d99f..b0e7ca5fe76 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.DialogCallback.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.DialogCallback.html
@@ -149,8 +149,8 @@ Method Summary
void
-onTracksSelected (boolean isDisabled,
- List <DefaultTrackSelector.SelectionOverride > overrides)
+onTracksSelected (boolean isDisabled,
+ Map <TrackGroup ,TrackSelectionOverride > overrides)
Called when tracks are selected.
@@ -172,19 +172,19 @@ Method Summary
Method Detail
-
+
onTracksSelected
void onTracksSelected(boolean isDisabled,
- List <DefaultTrackSelector.SelectionOverride > overrides)
+ Map <TrackGroup ,TrackSelectionOverride > overrides)
Called when tracks are selected.
Parameters:
-isDisabled
- Whether the renderer is disabled.
-overrides
- List of selected track selection overrides for the renderer.
+isDisabled
- Whether the disabled option is selected.
+overrides
- The selected track overrides.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.html b/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.html
index 56a3b8d887d..d42d3a64bd7 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.html
@@ -177,19 +177,18 @@ Constructor Summary
Description
-TrackSelectionDialogBuilder (Context context,
+TrackSelectionDialogBuilder (Context context,
CharSequence title,
- DefaultTrackSelector trackSelector,
- int rendererIndex)
+ Player player,
+ @com.google.android.exoplayer2.C.TrackType int trackType)
-
+Creates a builder for a track selection dialog.
-TrackSelectionDialogBuilder (Context context,
+TrackSelectionDialogBuilder (Context context,
CharSequence title,
- MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
- int rendererIndex,
+ List <Tracks.Group > trackGroups,
TrackSelectionDialogBuilder.DialogCallback callback)
Creates a builder for a track selection dialog.
@@ -243,16 +242,16 @@ Method Summary
TrackSelectionDialogBuilder
-setOverride (DefaultTrackSelector.SelectionOverride override)
+setOverride (TrackSelectionOverride override)
-Sets the initial selection override to show.
+Sets the single initial override.
TrackSelectionDialogBuilder
-setOverrides (List <DefaultTrackSelector.SelectionOverride > overrides)
+setOverrides (Map <TrackGroup ,TrackSelectionOverride > overrides)
-Sets the list of initial selection overrides to show.
+Sets the initial track overrides.
@@ -309,7 +308,7 @@ Methods inherited from class java.lang.
+
@@ -317,22 +316,19 @@ Constructor Detail
TrackSelectionDialogBuilder
public TrackSelectionDialogBuilder(Context context,
CharSequence title,
- MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
- int rendererIndex,
+ List <Tracks.Group > trackGroups,
TrackSelectionDialogBuilder.DialogCallback callback)
Creates a builder for a track selection dialog.
Parameters:
context
- The context of the dialog.
title
- The title of the dialog.
-mappedTrackInfo
- The MappingTrackSelector.MappedTrackInfo
containing the track information.
-rendererIndex
- The renderer index in the mappedTrackInfo
for which the track
- selection is shown.
+trackGroups
- The track groups
.
callback
- The TrackSelectionDialogBuilder.DialogCallback
invoked when a track selection has been made.
-
+
@@ -340,17 +336,15 @@ TrackSelectionDialogBuilder
TrackSelectionDialogBuilder
public TrackSelectionDialogBuilder(Context context,
CharSequence title,
- DefaultTrackSelector trackSelector,
- int rendererIndex)
-
+ Player player,
+ @com.google.android.exoplayer2.C.TrackType int trackType)
+Creates a builder for a track selection dialog.
Parameters:
context
- The context of the dialog.
title
- The title of the dialog.
-trackSelector
- A DefaultTrackSelector
whose current selection is used to set up
- the dialog and which is updated when new tracks are selected in the dialog.
-rendererIndex
- The renderer index in the trackSelector
for which the track
- selection is shown.
+player
- The Player
whose tracks should be selected.
+trackType
- The type of tracks to show for selection.
@@ -397,37 +391,38 @@ setIsDisabled
-
+
-
+
setOverrides
-public TrackSelectionDialogBuilder setOverrides(List <DefaultTrackSelector.SelectionOverride > overrides)
-
+public TrackSelectionDialogBuilder setOverrides(Map <TrackGroup ,TrackSelectionOverride > overrides)
+Sets the initial track overrides. Any overrides that do not correspond to track groups that
+ were passed to the constructor will be ignored. If
setAllowMultipleOverrides(boolean)
+ hasn't been set to
true
then all but one override will be ignored. The retained
+ override will be the one whose track group was first in the list of track groups passed to the
+ constructor.
Parameters:
-overrides
- The list of initial overrides to show. There must be at most one override for
- each track group.
+overrides
- The initially selected track overrides.
Returns:
This builder, for convenience.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionView.TrackSelectionListener.html b/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionView.TrackSelectionListener.html
index 32606127c96..b94d1f44a5d 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionView.TrackSelectionListener.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionView.TrackSelectionListener.html
@@ -149,8 +149,8 @@ Method Summary
void
-onTrackSelectionChanged (boolean isDisabled,
- List <DefaultTrackSelector.SelectionOverride > overrides)
+onTrackSelectionChanged (boolean isDisabled,
+ Map <TrackGroup ,TrackSelectionOverride > overrides)
Called when the selected tracks changed.
@@ -172,19 +172,19 @@ Method Summary
Method Detail
-
+
onTrackSelectionChanged
void onTrackSelectionChanged(boolean isDisabled,
- List <DefaultTrackSelector.SelectionOverride > overrides)
+ Map <TrackGroup ,TrackSelectionOverride > overrides)
Called when the selected tracks changed.
Parameters:
-isDisabled
- Whether the renderer is disabled.
-overrides
- List of selected track selection overrides for the renderer.
+isDisabled
- Whether the disabled option is selected.
+overrides
- The selected track overrides.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionView.html b/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionView.html
index 2467811b3a9..2f904890a90 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionView.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionView.html
@@ -25,8 +25,8 @@
catch(err) {
}
//-->
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var data = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -229,7 +229,7 @@ Fields inherited from class android.view.View
-ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
+ACCESSIBILITY_LIVE_REGION_ASSERTIVE , ACCESSIBILITY_LIVE_REGION_NONE , ACCESSIBILITY_LIVE_REGION_POLITE , ALPHA , AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH , AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR , AUTOFILL_HINT_CREDIT_CARD_NUMBER , AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE , AUTOFILL_HINT_EMAIL_ADDRESS , AUTOFILL_HINT_NAME , AUTOFILL_HINT_PASSWORD , AUTOFILL_HINT_PHONE , AUTOFILL_HINT_POSTAL_ADDRESS , AUTOFILL_HINT_POSTAL_CODE , AUTOFILL_HINT_USERNAME , AUTOFILL_TYPE_DATE , AUTOFILL_TYPE_LIST , AUTOFILL_TYPE_NONE , AUTOFILL_TYPE_TEXT , AUTOFILL_TYPE_TOGGLE , DRAG_FLAG_ACCESSIBILITY_ACTION , DRAG_FLAG_GLOBAL , DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION , DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION , DRAG_FLAG_GLOBAL_URI_READ , DRAG_FLAG_GLOBAL_URI_WRITE , DRAG_FLAG_OPAQUE , DRAWING_CACHE_QUALITY_AUTO , DRAWING_CACHE_QUALITY_HIGH , DRAWING_CACHE_QUALITY_LOW , EMPTY_STATE_SET , ENABLED_FOCUSED_SELECTED_STATE_SET , ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_FOCUSED_STATE_SET , ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , ENABLED_SELECTED_STATE_SET , ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , ENABLED_STATE_SET , ENABLED_WINDOW_FOCUSED_STATE_SET , FIND_VIEWS_WITH_CONTENT_DESCRIPTION , FIND_VIEWS_WITH_TEXT , FOCUS_BACKWARD , FOCUS_DOWN , FOCUS_FORWARD , FOCUS_LEFT , FOCUS_RIGHT , FOCUS_UP , FOCUSABLE , FOCUSABLE_AUTO , FOCUSABLES_ALL , FOCUSABLES_TOUCH_MODE , FOCUSED_SELECTED_STATE_SET , FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , FOCUSED_STATE_SET , FOCUSED_WINDOW_FOCUSED_STATE_SET , GONE , HAPTIC_FEEDBACK_ENABLED , IMPORTANT_FOR_ACCESSIBILITY_AUTO , IMPORTANT_FOR_ACCESSIBILITY_NO , IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS , IMPORTANT_FOR_ACCESSIBILITY_YES , IMPORTANT_FOR_AUTOFILL_AUTO , IMPORTANT_FOR_AUTOFILL_NO , IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_AUTOFILL_YES , IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_AUTO , IMPORTANT_FOR_CONTENT_CAPTURE_NO , IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS , IMPORTANT_FOR_CONTENT_CAPTURE_YES , IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS , INVISIBLE , KEEP_SCREEN_ON , LAYER_TYPE_HARDWARE , LAYER_TYPE_NONE , LAYER_TYPE_SOFTWARE , LAYOUT_DIRECTION_INHERIT , LAYOUT_DIRECTION_LOCALE , LAYOUT_DIRECTION_LTR , LAYOUT_DIRECTION_RTL , MEASURED_HEIGHT_STATE_SHIFT , MEASURED_SIZE_MASK , MEASURED_STATE_MASK , MEASURED_STATE_TOO_SMALL , NO_ID , NOT_FOCUSABLE , OVER_SCROLL_ALWAYS , OVER_SCROLL_IF_CONTENT_SCROLLS , OVER_SCROLL_NEVER , PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET , PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_STATE_SET , PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_SELECTED_STATE_SET , PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_ENABLED_STATE_SET , PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_SELECTED_STATE_SET , PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_FOCUSED_STATE_SET , PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET , PRESSED_SELECTED_STATE_SET , PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET , PRESSED_STATE_SET , PRESSED_WINDOW_FOCUSED_STATE_SET , ROTATION , ROTATION_X , ROTATION_Y , SCALE_X , SCALE_Y , SCREEN_STATE_OFF , SCREEN_STATE_ON , SCROLL_AXIS_HORIZONTAL , SCROLL_AXIS_NONE , SCROLL_AXIS_VERTICAL , SCROLL_CAPTURE_HINT_AUTO , SCROLL_CAPTURE_HINT_EXCLUDE , SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS , SCROLL_CAPTURE_HINT_INCLUDE , SCROLL_INDICATOR_BOTTOM , SCROLL_INDICATOR_END , SCROLL_INDICATOR_LEFT , SCROLL_INDICATOR_RIGHT , SCROLL_INDICATOR_START , SCROLL_INDICATOR_TOP , SCROLLBAR_POSITION_DEFAULT , SCROLLBAR_POSITION_LEFT , SCROLLBAR_POSITION_RIGHT , SCROLLBARS_INSIDE_INSET , SCROLLBARS_INSIDE_OVERLAY , SCROLLBARS_OUTSIDE_INSET , SCROLLBARS_OUTSIDE_OVERLAY , SELECTED_STATE_SET , SELECTED_WINDOW_FOCUSED_STATE_SET , SOUND_EFFECTS_ENABLED , STATUS_BAR_HIDDEN , STATUS_BAR_VISIBLE , SYSTEM_UI_FLAG_FULLSCREEN , SYSTEM_UI_FLAG_HIDE_NAVIGATION , SYSTEM_UI_FLAG_IMMERSIVE , SYSTEM_UI_FLAG_IMMERSIVE_STICKY , SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN , SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION , SYSTEM_UI_FLAG_LAYOUT_STABLE , SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR , SYSTEM_UI_FLAG_LIGHT_STATUS_BAR , SYSTEM_UI_FLAG_LOW_PROFILE , SYSTEM_UI_FLAG_VISIBLE , SYSTEM_UI_LAYOUT_FLAGS , TEXT_ALIGNMENT_CENTER , TEXT_ALIGNMENT_GRAVITY , TEXT_ALIGNMENT_INHERIT , TEXT_ALIGNMENT_TEXT_END , TEXT_ALIGNMENT_TEXT_START , TEXT_ALIGNMENT_VIEW_END , TEXT_ALIGNMENT_VIEW_START , TEXT_DIRECTION_ANY_RTL , TEXT_DIRECTION_FIRST_STRONG , TEXT_DIRECTION_FIRST_STRONG_LTR , TEXT_DIRECTION_FIRST_STRONG_RTL , TEXT_DIRECTION_INHERIT , TEXT_DIRECTION_LOCALE , TEXT_DIRECTION_LTR , TEXT_DIRECTION_RTL , TRANSLATION_X , TRANSLATION_Y , TRANSLATION_Z , VIEW_LOG_TAG , VISIBLE , WINDOW_FOCUSED_STATE_SET , X , Y , Z
@@ -280,40 +280,47 @@ Constructor Summary
Method Summary
-All Methods Instance Methods Concrete Methods
+All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type
Method
Description
+static Map <TrackGroup ,TrackSelectionOverride >
+filterOverrides (Map <TrackGroup ,TrackSelectionOverride > overrides,
+ List <Tracks.Group > trackGroups,
+ boolean allowMultipleOverrides)
+
+Returns the subset of overrides
that apply to the specified trackGroups
.
+
+
+
boolean
getIsDisabled ()
-Returns whether the renderer is disabled.
+Returns whether the disabled option is selected.
-
-List <DefaultTrackSelector.SelectionOverride >
+
+Map <TrackGroup ,TrackSelectionOverride >
getOverrides ()
-Returns the list of selected track selection overrides.
+Returns the selected track overrides.
-
+
void
-init (MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
- int rendererIndex,
+init (List <Tracks.Group > trackGroups,
boolean isDisabled,
- List <DefaultTrackSelector.SelectionOverride > overrides,
+ Map <TrackGroup ,TrackSelectionOverride > overrides,
Comparator <Format > trackFormatComparator,
TrackSelectionView.TrackSelectionListener listener)
-
+Initialize the view to select tracks from a specified list of track groups.
-
+
void
setAllowAdaptiveSelections (boolean allowAdaptiveSelections)
@@ -321,21 +328,21 @@ Method Summary
selection view.
-
+
void
setAllowMultipleOverrides (boolean allowMultipleOverrides)
Sets whether tracks from multiple track groups can be selected.
-
+
void
setShowDisableOption (boolean showDisableOption)
-Sets whether an option is available for disabling the renderer.
+Sets whether the disabled option can be selected.
-
+
void
setTrackNameProvider (TrackNameProvider trackNameProvider)
@@ -441,6 +448,28 @@ TrackSelectionView
Method Detail
+
+
+
+
+
+filterOverrides
+public static Map <TrackGroup ,TrackSelectionOverride > filterOverrides(Map <TrackGroup ,TrackSelectionOverride > overrides,
+ List <Tracks.Group > trackGroups,
+ boolean allowMultipleOverrides)
+Returns the subset of overrides
that apply to the specified trackGroups
. If
+ allowMultipleOverrides
is then at most one override is retained, which will be
+ the one whose track group is first in trackGroups
.
+
+Parameters:
+overrides
- The overrides to filter.
+trackGroups
- The track groups whose overrides should be retained.
+allowMultipleOverrides
- Whether more than one override can be retained.
+Returns:
+The filtered overrides.
+
+
+
@@ -466,10 +495,10 @@ setAllowAdaptiveSelections
setAllowMultipleOverrides
public void setAllowMultipleOverrides(boolean allowMultipleOverrides)
-
+
Parameters:
-allowMultipleOverrides
- Whether multiple track selection overrides can be selected.
+allowMultipleOverrides
- Whether tracks from multiple track groups can be selected.
@@ -480,10 +509,10 @@ setAllowMultipleOverrides
setShowDisableOption
public void setShowDisableOption(boolean showDisableOption)
-Sets whether an option is available for disabling the renderer.
+Sets whether the disabled option can be selected.
Parameters:
-showDisableOption
- Whether the disable option is shown.
+showDisableOption
- Whether the disabled option can be selected.
@@ -502,33 +531,31 @@ setTrackNameProvider
-
+
init
-public void init(MappingTrackSelector.MappedTrackInfo mappedTrackInfo,
- int rendererIndex,
+public void init(List <Tracks.Group > trackGroups,
boolean isDisabled,
- List <DefaultTrackSelector.SelectionOverride > overrides,
+ Map <TrackGroup ,TrackSelectionOverride > overrides,
@Nullable
Comparator <Format > trackFormatComparator,
@Nullable
TrackSelectionView.TrackSelectionListener listener)
-
+Initialize the view to select tracks from a specified list of track groups.
Parameters:
-mappedTrackInfo
- The MappingTrackSelector.MappedTrackInfo
.
-rendererIndex
- The index of the renderer.
-isDisabled
- Whether the renderer should be initially shown as disabled.
-overrides
- List of initial overrides to be shown for this renderer. There must be at most
- one override for each track group. If setAllowMultipleOverrides(boolean)
hasn't
- been set to true
, only the first override is used.
+trackGroups
- The track groups
.
+isDisabled
- Whether the disabled option should be initially selected.
+overrides
- The initially selected track overrides. Any overrides that do not correspond
+ to track groups in trackGroups
will be ignored. If setAllowMultipleOverrides(boolean)
hasn't been set to true
then all but one
+ override will be ignored. The retained override will be the one whose track group is first
+ in trackGroups
.
trackFormatComparator
- An optional comparator used to determine the display order of the
tracks within each track group.
-listener
- An optional listener for track selection updates.
+listener
- An optional listener to receive selection updates.
@@ -539,7 +566,7 @@ init
getIsDisabled
public boolean getIsDisabled()
-Returns whether the renderer is disabled.
+Returns whether the disabled option is selected.
@@ -548,9 +575,8 @@ getIsDisabled
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/ui/package-summary.html
index 9d0b1a9fce8..0b5964ddad3 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/package-summary.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/package-summary.html
@@ -147,8 +147,9 @@ Package com.google.android.exoplayer2.ui<
StyledPlayerControlView.OnFullScreenModeChangedListener
-
-Listener to be invoked to inform the fullscreen mode is changed.
+ Deprecated.
+
@@ -159,8 +160,21 @@ Package com.google.android.exoplayer2.ui<
StyledPlayerControlView.VisibilityListener
+Deprecated.
+
+
+
+
+StyledPlayerView.ControllerVisibilityListener
-Listener to be notified about changes of the visibility of the UI control.
+Listener to be notified about changes of the visibility of the UI controls.
+
+
+
+StyledPlayerView.FullscreenButtonClickListener
+
+Listener invoked when the fullscreen button is clicked.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ui/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/ui/package-tree.html
index 1745e54b15b..62f3d68a892 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ui/package-tree.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ui/package-tree.html
@@ -125,7 +125,7 @@ Class Hierarchy
com.google.android.exoplayer2.ui.PlayerView (implements com.google.android.exoplayer2.ui.AdViewProvider )
com.google.android.exoplayer2.ui.StyledPlayerControlView
com.google.android.exoplayer2.ui.StyledPlayerView (implements com.google.android.exoplayer2.ui.AdViewProvider )
-com.google.android.exoplayer2.ui.SubtitleView (implements com.google.android.exoplayer2.Player.Listener )
+com.google.android.exoplayer2.ui.SubtitleView
android.widget.LinearLayout
@@ -154,6 +154,8 @@ Interface Hierarchy
com.google.android.exoplayer2.ui.StyledPlayerControlView.OnFullScreenModeChangedListener
com.google.android.exoplayer2.ui.StyledPlayerControlView.ProgressUpdateListener
com.google.android.exoplayer2.ui.StyledPlayerControlView.VisibilityListener
+com.google.android.exoplayer2.ui.StyledPlayerView.ControllerVisibilityListener
+com.google.android.exoplayer2.ui.StyledPlayerView.FullscreenButtonClickListener
com.google.android.exoplayer2.ui.TimeBar
com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
com.google.android.exoplayer2.ui.TrackNameProvider
diff --git a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataReader.html b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataReader.html
index bd12cb1e6f6..cafaf860d5a 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataReader.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataReader.html
@@ -126,7 +126,7 @@ Interface DataReader
All Known Implementing Classes:
-AesCipherDataSource
, AssetDataSource
, BaseDataSource
, ByteArrayDataSource
, CacheDataSource
, ContentDataSource
, CronetDataSource
, DataSchemeDataSource
, DefaultDataSource
, DefaultExtractorInput
, DefaultHttpDataSource
, DummyDataSource
, FakeDataSource
, FakeExtractorInput
, FileDataSource
, ForwardingExtractorInput
, OkHttpDataSource
, PriorityDataSource
, RawResourceDataSource
, ResolvingDataSource
, RtmpDataSource
, StatsDataSource
, TeeDataSource
, UdpDataSource
+AesCipherDataSource
, AssetDataSource
, BaseDataSource
, ByteArrayDataSource
, CacheDataSource
, ContentDataSource
, CronetDataSource
, DataSchemeDataSource
, DefaultDataSource
, DefaultExtractorInput
, DefaultHttpDataSource
, FakeDataSource
, FakeExtractorInput
, FileDataSource
, ForwardingExtractorInput
, OkHttpDataSource
, PlaceholderDataSource
, PriorityDataSource
, RawResourceDataSource
, ResolvingDataSource
, RtmpDataSource
, StatsDataSource
, TeeDataSource
, UdpDataSource
public interface DataReader
diff --git a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSource.html b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSource.html
index 7e160dd2610..ac55f5f711d 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSource.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSource.html
@@ -130,7 +130,7 @@ Interface DataSource
All Known Implementing Classes:
-AesCipherDataSource
, AssetDataSource
, BaseDataSource
, ByteArrayDataSource
, CacheDataSource
, ContentDataSource
, CronetDataSource
, DataSchemeDataSource
, DefaultDataSource
, DefaultHttpDataSource
, DummyDataSource
, FakeDataSource
, FileDataSource
, OkHttpDataSource
, PriorityDataSource
, RawResourceDataSource
, ResolvingDataSource
, RtmpDataSource
, StatsDataSource
, TeeDataSource
, UdpDataSource
+AesCipherDataSource
, AssetDataSource
, BaseDataSource
, ByteArrayDataSource
, CacheDataSource
, ContentDataSource
, CronetDataSource
, DataSchemeDataSource
, DefaultDataSource
, DefaultHttpDataSource
, FakeDataSource
, FileDataSource
, OkHttpDataSource
, PlaceholderDataSource
, PriorityDataSource
, RawResourceDataSource
, ResolvingDataSource
, RtmpDataSource
, StatsDataSource
, TeeDataSource
, UdpDataSource
public interface DataSource
diff --git a/docs/doc/reference/com/google/android/exoplayer2/upstream/DummyDataSource.html b/docs/doc/reference/com/google/android/exoplayer2/upstream/PlaceholderDataSource.html
similarity index 96%
rename from docs/doc/reference/com/google/android/exoplayer2/upstream/DummyDataSource.html
rename to docs/doc/reference/com/google/android/exoplayer2/upstream/PlaceholderDataSource.html
index 3161c8ea2a4..723fb227cfc 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/upstream/DummyDataSource.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/upstream/PlaceholderDataSource.html
@@ -2,7 +2,7 @@
-DummyDataSource (ExoPlayer library)
+PlaceholderDataSource (ExoPlayer library)
@@ -19,7 +19,7 @@