Skip to content

Commit a23aca7

Browse files
sharadb-amazonrsqf
authored and
rsqf
committed
iOS tv-casting-app: deprecating old casting impl, replacing with shim (project-chip#33350)
1 parent 3504e7e commit a23aca7

File tree

72 files changed

+2782
-2383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2782
-2383
lines changed

examples/tv-casting-app/APIs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ if(currentStateAttribute == nil)
13621362
}
13631363
13641364
// call read on currentStateAttribute and pass in a completion block
1365-
currentStateAttribute!.read(nil) { context, before, after, err in
1365+
currentStateAttribute!.subscribe(nil, completion: { context, before, after, err in
13661366
13671367
let dateFormatter = DateFormatter()
13681368
dateFormatter.dateFormat = "HH:mm:ss"
@@ -1386,7 +1386,7 @@ currentStateAttribute!.read(nil) { context, before, after, err in
13861386
self.status = "Read CurrentState value: \(String(describing: after)) at \(currentTime)"
13871387
}
13881388
}
1389-
}
1389+
}, minInterval: 0, maxInterval: 1)
13901390
```
13911391
13921392
The Casting client can Shutdown all running Subscriptions by calling the

examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge.xcodeproj/project.pbxproj

+40-72
Large diffs are not rendered by default.

examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/CastingServerBridge.h

-1,263
This file was deleted.

examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/CommissionableDataProviderImpl.hpp

-62
This file was deleted.

examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/CommissionableDataProviderImpl.mm

-209
This file was deleted.

examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/DeviceAttestationCredentialsProviderImpl.hpp

-48
This file was deleted.

0 commit comments

Comments
 (0)