-
Notifications
You must be signed in to change notification settings - Fork 507
PushToTalk iOS xcode14.0 beta4
Manuel de la Pena edited this page Aug 5, 2022
·
3 revisions
#PushToTalk.framework https://github.com/xamarin/xamarin-macios/pull/15645
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTChannelManager.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTChannelManager.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTChannelManager.h 2022-06-30 22:10:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTChannelManager.h 2022-07-25 15:33:49.000000000 -0400
@@ -21,6 +21,15 @@
PTServiceStatusUnavailable,
} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos);
+typedef NS_ENUM(NSInteger, PTTransmissionMode) {
+ /// Users can transmit and receive simultaneously.
+ PTTransmissionModeFullDuplex,
+ /// Users can transmit and receive but not simultaneously. This is the default value.
+ PTTransmissionModeHalfDuplex,
+ /// User is able to receive only, transmit is not permitted.
+ PTTransmissionModeListenOnly,
+} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos);
+
NS_ASSUME_NONNULL_BEGIN
NS_SWIFT_SENDABLE
@@ -59,6 +68,9 @@
/// The default value for service status is PTServiceStatusReady. If your underlying network connection is experiencing issues, set the appropriate service status. The service status will be reflected in the system user interface.
- (void)setServiceStatus:(PTServiceStatus)status forChannelUUID:(NSUUID *)channelUUID completionHandler:(void (^_Nullable)(NSError * _Nullable))completionHandler NS_SWIFT_NAME(setServiceStatus(_:channelUUID:completionHandler:));
+/// The default value for transmission mode is PTTransmissionModeHalfDuplex. If your application support one of the other transmission modes set it using this function. The system user interface will be updated to reflect the transmission mode.
+- (void)setTransmissionMode:(PTTransmissionMode)transmissionMode forChannelUUID:(NSUUID *)channelUUID completionHandler:(void (^_Nullable)(NSError * _Nullable))completionHandler NS_SWIFT_NAME(setTransmissionMode(_:channelUUID:completionHandler:));
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTErrors.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTErrors.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTErrors.h 2022-06-30 22:10:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTErrors.h 2022-07-25 15:36:47.000000000 -0400
@@ -56,5 +56,8 @@
/// A Screen Time restriction prevented the action
PTChannelErrorScreenTimeRestriction = 8,
+
+ /// A transmission is not allowed due to the current transmission mode of the channel
+ PTChannelErrorTransmissionNotAllowed = 9,
} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos);
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status