Skip to content

PushToTalk iOS xcode15.0 b1

Haritha Mohan edited this page Sep 21, 2023 · 3 revisions

#PushToTalk.framework https://github.com/xamarin/xamarin-macios/pull/19087

diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTChannelManager.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTChannelManager.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTChannelManager.h	2023-03-09 23:50:31
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushToTalk.framework/Headers/PTChannelManager.h	2023-05-19 21:40:37
@@ -71,6 +71,9 @@
 /// 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:));
 
+/// The default channel behavior is to map supported accessory button events to begin/end transmission actions. If your application does not wish to map these button events to transmission actions you can disable them by setting the enabled value to false.
+- (void)setAccessoryButtonEventsEnabled:(BOOL)enabled forChannelUUID:(NSUUID *)channelUUID completionHandler:(void (^_Nullable)(NSError * _Nullable))completionHandler API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos) NS_SWIFT_NAME(setAccessoryButtonEventsEnabled(_:channelUUID:completionHandler:));
+
 @end
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally