Skip to content

Commit

Permalink
Merge pull request #82 from Adobe-Marketing-Cloud/release-roku-v2.2.7
Browse files Browse the repository at this point in the history
Roku 2.2.7 release
  • Loading branch information
addb authored Aug 12, 2024
2 parents 21ffec7 + bb894a2 commit 75313bd
Show file tree
Hide file tree
Showing 9 changed files with 3,525 additions and 2,719 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# DS_Store
*.DS_Store
5 changes: 5 additions & 0 deletions sdks/roku/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Included are notes from the latest major revision to current.
For full documentation please visit:
https://docs.adobe.com/content/help/en/media-analytics/using/sdk-implement/download-sdks.html

## 2.2.7 (12 August, 2024)
What's new:
- Removed usage of deprecated GetSubtitle() API.
- Fixed unused variables warning.

## 2.2.6 (13 January, 2022)
What's new :
- Removed usage of deprecated [GetVersion() Roku API](https://developer.roku.com/docs/references/brightscript/interfaces/ifdeviceinfo.md#getversion-as-string).
Expand Down
14 changes: 7 additions & 7 deletions sdks/roku/libs/SceneGraphComponent/adbmobileTask.brs
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ end sub
sub initializeRunLoop()

m.adbmobile = ADBMobile()

while true
msg = wait(250, m.port)

if (msg = invalid) then
m.adbmobile.processMessages()
m.adbmobile.processMediaMessages()
else
else
msgType = type(msg)

if msgType = "roSGNodeEvent"
if msg.getField() = m.adbmobile.sgConstants().API_CALL
executeBRSApiCall(msg.getData())
Expand All @@ -51,15 +51,15 @@ end sub
function executeBRSApiCall(invocation as Object)
args = invocation.args
length = args.count()
if (invocation.methodName.Instr("getter/") = 0) then
if (invocation.methodName.Instr("getter/") = 0) then
methodName = invocation.methodName.Replace("getter/", "")
returnVal = m.adbmobile[methodName]()

response = {}
response.apiName = methodName
response.returnValue = returnVal
m.top["adbmobileApiResponse"] = response
else
else
target = m.adbmobile
methodName = invocation.methodName

Expand All @@ -75,4 +75,4 @@ function executeBRSApiCall(invocation as Object)
target[methodName](args[0], args[1], args[2], args[3])
end if
end if
end function
end function
Loading

0 comments on commit 75313bd

Please sign in to comment.