-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
2,359 additions
and
655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106 changes: 106 additions & 0 deletions
106
...in/src/main/java/com/kaltura/playkit/plugins/youbora/pluginconfig/AdCustomDimensions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
package com.kaltura.playkit.plugins.youbora.pluginconfig; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public class AdCustomDimensions { | ||
@SerializedName(value="adCustomDimension1", alternate={"param1"}) | ||
private String adCustomDimension1; | ||
@SerializedName(value="adCustomDimension2", alternate={"param2"}) | ||
private String adCustomDimension2; | ||
@SerializedName(value="adCustomDimension3", alternate={"param3"}) | ||
private String adCustomDimension3; | ||
@SerializedName(value="adCustomDimension4", alternate={"param4"}) | ||
private String adCustomDimension4; | ||
@SerializedName(value="adCustomDimension5", alternate={"param5"}) | ||
private String adCustomDimension5; | ||
@SerializedName(value="adCustomDimension6", alternate={"param6"}) | ||
private String adCustomDimension6; | ||
@SerializedName(value="adCustomDimension7", alternate={"param7"}) | ||
private String adCustomDimension7; | ||
@SerializedName(value="adCustomDimension8", alternate={"param8"}) | ||
private String adCustomDimension8; | ||
@SerializedName(value="adCustomDimension9", alternate={"param9"}) | ||
private String adCustomDimension9; | ||
@SerializedName(value="adCustomDimension10", alternate={"param10"}) | ||
private String adCustomDimension10; | ||
|
||
public String getAdCustomDimension1() { | ||
return adCustomDimension1; | ||
} | ||
|
||
public void setAdCustomDimension1(String adCustomDimension1) { | ||
this.adCustomDimension1 = adCustomDimension1; | ||
} | ||
|
||
public String getAdCustomDimension2() { | ||
return adCustomDimension2; | ||
} | ||
|
||
public void setAdCustomDimension2(String adCustomDimension2) { | ||
this.adCustomDimension2 = adCustomDimension2; | ||
} | ||
|
||
public String getAdCustomDimension3() { | ||
return adCustomDimension3; | ||
} | ||
|
||
public void setAdCustomDimension3(String adCustomDimension3) { | ||
this.adCustomDimension3 = adCustomDimension3; | ||
} | ||
|
||
public String getAdCustomDimension4() { | ||
return adCustomDimension4; | ||
} | ||
|
||
public void setAdCustomDimension4(String adCustomDimension4) { | ||
this.adCustomDimension4 = adCustomDimension4; | ||
} | ||
|
||
public String getAdCustomDimension5() { | ||
return adCustomDimension5; | ||
} | ||
|
||
public void setAdCustomDimension5(String adCustomDimension5) { | ||
this.adCustomDimension5 = adCustomDimension5; | ||
} | ||
|
||
public String getAdCustomDimension6() { | ||
return adCustomDimension6; | ||
} | ||
|
||
public void setAdCustomDimension6(String adCustomDimension6) { | ||
this.adCustomDimension6 = adCustomDimension6; | ||
} | ||
|
||
public String getAdCustomDimension7() { | ||
return adCustomDimension7; | ||
} | ||
|
||
public void setAdCustomDimension7(String adCustomDimension7) { | ||
this.adCustomDimension7 = adCustomDimension7; | ||
} | ||
|
||
public String getAdCustomDimension8() { | ||
return adCustomDimension8; | ||
} | ||
|
||
public void setAdCustomDimension8(String adCustomDimension8) { | ||
this.adCustomDimension8 = adCustomDimension8; | ||
} | ||
|
||
public String getAdCustomDimension9() { | ||
return adCustomDimension9; | ||
} | ||
|
||
public void setAdCustomDimension9(String adCustomDimension9) { | ||
this.adCustomDimension9 = adCustomDimension9; | ||
} | ||
|
||
public String getAdCustomDimension10() { | ||
return adCustomDimension10; | ||
} | ||
|
||
public void setAdCustomDimension10(String adCustomDimension10) { | ||
this.adCustomDimension10 = adCustomDimension10; | ||
} | ||
} |
92 changes: 82 additions & 10 deletions
92
youboraplugin/src/main/java/com/kaltura/playkit/plugins/youbora/pluginconfig/Ads.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,95 @@ | ||
package com.kaltura.playkit.plugins.youbora.pluginconfig; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class Ads { | ||
|
||
private String campaign; | ||
private ExtraParams extraParams; | ||
private ArrayList<Integer> adBreaksTime; | ||
@SerializedName(value="adCampaign", alternate={"campaign"}) | ||
private String adCampaign; | ||
private String adCreativeId; | ||
private Integer adExpectedBreaks; | ||
//private Bundle adExpectedPattern; | ||
private Integer adGivenBreaks; | ||
//private Bundle adMetadata; | ||
private String adProvider; | ||
private String adResource; | ||
private String adTitle; | ||
|
||
@SerializedName(value="adCustomDimensions", alternate={"extraParams"}) | ||
private AdCustomDimensions adCustomDimensions; | ||
|
||
public ArrayList<Integer> getAdBreaksTime() { | ||
return adBreaksTime; | ||
} | ||
|
||
public void setAdBreaksTime(ArrayList<Integer> adBreaksTime) { | ||
this.adBreaksTime = adBreaksTime; | ||
} | ||
|
||
public String getAdCampaign() { | ||
return adCampaign; | ||
} | ||
|
||
public void setAdCampaign(String adCampaign) { | ||
this.adCampaign = adCampaign; | ||
} | ||
|
||
public String getAdCreativeId() { | ||
return adCreativeId; | ||
} | ||
|
||
public void setAdCreativeId(String adCreativeId) { | ||
this.adCreativeId = adCreativeId; | ||
} | ||
|
||
public Integer getAdExpectedBreaks() { | ||
return adExpectedBreaks; | ||
} | ||
|
||
public void setAdExpectedBreaks(Integer adExpectedBreaks) { | ||
this.adExpectedBreaks = adExpectedBreaks; | ||
} | ||
|
||
public Integer getAdGivenBreaks() { | ||
return adGivenBreaks; | ||
} | ||
|
||
public void setAdGivenBreaks(Integer adGivenBreaks) { | ||
this.adGivenBreaks = adGivenBreaks; | ||
} | ||
|
||
public String getAdProvider() { | ||
return adProvider; | ||
} | ||
|
||
public void setAdProvider(String adProvider) { | ||
this.adProvider = adProvider; | ||
} | ||
|
||
public String getAdResource() { | ||
return adResource; | ||
} | ||
|
||
public void setAdResource(String adResource) { | ||
this.adResource = adResource; | ||
} | ||
|
||
public String getCampaign() { | ||
return campaign; | ||
public String getAdTitle() { | ||
return adTitle; | ||
} | ||
|
||
public void setCampaign(String campaign) { | ||
this.campaign = campaign; | ||
public void setAdTitle(String adTitle) { | ||
this.adTitle = adTitle; | ||
} | ||
|
||
public ExtraParams getExtraParams() { | ||
return extraParams; | ||
public AdCustomDimensions getAdCustomDimensions() { | ||
return adCustomDimensions; | ||
} | ||
|
||
public void setExtraParams(ExtraParams extraParams) { | ||
this.extraParams = extraParams; | ||
public void setAdCustomDimensions(AdCustomDimensions adCustomDimensions) { | ||
this.adCustomDimensions = adCustomDimensions; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
youboraplugin/src/main/java/com/kaltura/playkit/plugins/youbora/pluginconfig/App.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.kaltura.playkit.plugins.youbora.pluginconfig; | ||
|
||
public class App { | ||
private String appName = ""; | ||
private String appReleaseVersion = ""; | ||
|
||
public String getAppName() { | ||
return appName; | ||
} | ||
|
||
public void setAppName(String appName) { | ||
this.appName = appName; | ||
} | ||
|
||
public String getAppReleaseVersion() { | ||
return appReleaseVersion; | ||
} | ||
|
||
public void setAppReleaseVersion(String appReleaseVersion) { | ||
this.appReleaseVersion = appReleaseVersion; | ||
} | ||
} |
Oops, something went wrong.